Skip to content
Snippets Groups Projects
Commit ebb6dbd1 authored by Oliver Sander's avatar Oliver Sander
Browse files

added missing return in operator= which returns non-void

[[Imported from SVN: r2054]]
parent af986f3b
No related branches found
No related tags found
No related merge requests found
......@@ -464,7 +464,11 @@ namespace Dune
/** hide copy constructor */
Entity(const Entity& rhs) : realEntity(rhs.realEntity) {};
/** hide assignement operator */
Entity & operator = (const Entity& rhs) { realEntity = rhs.realEntity; };
Entity & operator = (const Entity& rhs) {
realEntity = rhs.realEntity;
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