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

Entity has no more CLASS_NAME static member.

parent db5fd5c3
No related branches found
No related tags found
No related merge requests found
......@@ -34,9 +34,6 @@ using namespace std;
using namespace dynamicgraph;
using dynamicgraph::command::Command;
const std::string Entity::CLASS_NAME = "Entity";
void Entity::
entityRegistration ()
{
......
......@@ -50,7 +50,8 @@ BOOST_AUTO_TEST_CASE (constructor)
dynamicgraph::CustomEntity entity ("my-entity");
BOOST_CHECK_EQUAL (entity.getName (), "my-entity");
BOOST_CHECK_EQUAL (entity.getClassName (), dynamicgraph::Entity::CLASS_NAME);
BOOST_CHECK_EQUAL (entity.getClassName (),
dynamicgraph::CustomEntity::CLASS_NAME);
dynamicgraph::CustomEntity entity2 ("");
}
......
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