From 95202e9557bd008b09cb10ac809beadc1d06920b Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Mon, 7 Apr 2014 18:54:53 +0200 Subject: [PATCH] rename --- alib2/src/regexp/RegExpElement.h | 2 +- alib2/src/std/visitor.hpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/alib2/src/regexp/RegExpElement.h b/alib2/src/regexp/RegExpElement.h index 57eb5990a8..33d15d6673 100644 --- a/alib2/src/regexp/RegExpElement.h +++ b/alib2/src/regexp/RegExpElement.h @@ -25,7 +25,7 @@ class RegExpEpsilon; /** * Abstract class representing element in the regular expression. Can be operator or symbol. */ -class RegExpElement : virtual public std::elementAux<std::visitor<Alternation, Concatenation, Iteration, RegExpSymbol, RegExpEmpty, RegExpEpsilon> > { +class RegExpElement : virtual public std::elementBase<std::visitor<Alternation, Concatenation, Iteration, RegExpSymbol, RegExpEmpty, RegExpEpsilon> > { public: virtual ~RegExpElement(); diff --git a/alib2/src/std/visitor.hpp b/alib2/src/std/visitor.hpp index 103b04335a..077357faf2 100644 --- a/alib2/src/std/visitor.hpp +++ b/alib2/src/std/visitor.hpp @@ -34,16 +34,16 @@ public: }; template<typename VisitorType> -class elementAux { +class elementBase { public: typedef VisitorType visitor_type; - typedef elementAux element_type; + typedef elementBase element_type; virtual void Accept(VisitorType& visitor) const = 0; }; template<typename Derived, typename VisitorType> -class element : virtual public elementAux<VisitorType> { +class element : virtual public elementBase<VisitorType> { public: virtual void Accept(VisitorType& visitor) const { visitor.Visit(static_cast<const Derived&>(*this)); -- GitLab