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

fix overrides in RightRG

parent a3e1960a
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -307,7 +307,7 @@ public:
/**
* @copydoc alib::CommonBase<ObjectBase>::normalize()
*/
virtual int compare ( const ObjectBase & other ) const {
virtual int compare ( const ObjectBase & other ) const override {
if ( std::type_index ( typeid ( * this ) ) == std::type_index ( typeid ( other ) ) ) return this->compare ( ( decltype ( * this ) )other );
 
return std::type_index ( typeid ( * this ) ) - std::type_index ( typeid ( other ) );
......@@ -320,7 +320,7 @@ public:
*
* \returns actual relation between two by type same grammar instances
*/
virtual int compare ( const RightRG & other ) const override;
int compare ( const RightRG & other ) const;
 
/**
* @copydoc alib::CommonBase<ObjectBase>::operator >> ( std::ostream & )
......
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