Skip to content
Snippets Groups Projects
Commit aa01215b authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Use getClassName() instead of CLASS_NAME in Entity constructor.

parent 4513ebe9
No related branches found
No related tags found
No related merge requests found
...@@ -59,7 +59,7 @@ Entity( const string& name__ ) ...@@ -59,7 +59,7 @@ Entity( const string& name__ )
if( name.length ()==0 ) if( name.length ()==0 )
{ {
stringstream oss; oss << rand (); stringstream oss; oss << rand ();
name = CLASS_NAME; name = this->getClassName();
name+="::"; name+="::";
name+=oss.str (); name+=oss.str ();
} }
......
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