Commit 0e7c4eff authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Added missing comparison operator to Mesh

parent 9ca7c790
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -150,6 +150,8 @@ class Mesh

      bool operator==( const Mesh& mesh ) const;

      bool operator!=( const Mesh& mesh ) const;

      void writeProlog( Logger& logger );

   protected:
+8 −0
Original line number Diff line number Diff line
@@ -249,6 +249,14 @@ operator==( const Mesh& mesh ) const
   return StorageBaseType::operator==( mesh );
}

template< typename MeshConfig, typename Device >
bool
Mesh< MeshConfig, Device >::
operator!=( const Mesh& mesh ) const
{
   return ! operator==( mesh );
}

template< typename MeshConfig, typename Device >
void
Mesh< MeshConfig, Device >::