Skip to content
Snippets Groups Projects
Commit abd9cdf9 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

add missing overrides in RightRG

parent 33d78993
No related branches found
No related tags found
No related merge requests found
......@@ -320,17 +320,17 @@ public:
*
* \returns actual relation between two by type same grammar instances
*/
virtual int compare ( const RightRG & other ) const;
virtual int compare ( const RightRG & other ) const override;
 
/**
* @copydoc alib::CommonBase<ObjectBase>::operator >> ( std::ostream & )
*/
virtual void operator >>( std::ostream & os ) const;
virtual void operator >>( std::ostream & os ) const override;
 
/**
* @copydoc alib::CommonBase<ObjectBase>::operator std::string ( )
*/
virtual explicit operator std::string ( ) const;
virtual explicit operator std::string ( ) const override;
 
/**
* \brief The XML tag name of class.
......@@ -367,7 +367,7 @@ public:
*
* \param out sink for new xml tokens representing the grammar
*/
void compose ( std::deque < sax::Token > & out ) const;
virtual void compose ( std::deque < sax::Token > & out ) const override;
 
/**
* Helper for composing rules of the grammar to a sequence of xml tokens.
......@@ -379,7 +379,7 @@ public:
/**
* @copydoc alib::GrammarBase::inc()
*/
virtual alib::ObjectBase * inc ( ) &&;
virtual alib::ObjectBase * inc ( ) && override;
 
/**
* Type of normalized type.
......@@ -391,7 +391,7 @@ public:
*
* \returns new instance of the grammar with default template parameters or unmodified instance if the template parameters were already default ones
*/
virtual GrammarBase * normalize ( ) && {
virtual GrammarBase * normalize ( ) && override {
if ( typeid ( RightRG < > ) == typeid ( RightRG < SymbolType > ) )
return this;
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment