From aa01215bb156241c77a63221cd0d84ac2801932b Mon Sep 17 00:00:00 2001 From: Florent Lamiraux <florent@laas.fr> Date: Wed, 26 Jan 2011 09:48:59 +0100 Subject: [PATCH] Use getClassName() instead of CLASS_NAME in Entity constructor. --- src/dgraph/entity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dgraph/entity.cpp b/src/dgraph/entity.cpp index 8b37740..bbda49a 100644 --- a/src/dgraph/entity.cpp +++ b/src/dgraph/entity.cpp @@ -59,7 +59,7 @@ Entity( const string& name__ ) if( name.length ()==0 ) { stringstream oss; oss << rand (); - name = CLASS_NAME; + name = this->getClassName(); name+="::"; name+=oss.str (); } -- GitLab