From 12c5bfcff5211d913f0a6481e6993462d16be317 Mon Sep 17 00:00:00 2001
From: Florent Lamiraux <florent@laas.fr>
Date: Tue, 21 Jun 2011 19:31:10 +0200
Subject: [PATCH] Entity has no more CLASS_NAME static member.

---
 src/dgraph/entity.cpp | 3 ---
 tests/entity.cpp      | 3 ++-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/dgraph/entity.cpp b/src/dgraph/entity.cpp
index 0b5c5db..4d6c9a3 100644
--- a/src/dgraph/entity.cpp
+++ b/src/dgraph/entity.cpp
@@ -34,9 +34,6 @@ using namespace std;
 using namespace dynamicgraph;
 using dynamicgraph::command::Command;
 
-const std::string Entity::CLASS_NAME = "Entity";
-
-
 void Entity::
 entityRegistration  ()
 {
diff --git a/tests/entity.cpp b/tests/entity.cpp
index 0bd94db..a614ad8 100644
--- a/tests/entity.cpp
+++ b/tests/entity.cpp
@@ -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 ("");
 }
-- 
GitLab