From ff0fe104c4128f5541a15211d227d1154dcda802 Mon Sep 17 00:00:00 2001
From: Mansard <nmansard@laas.fr>
Date: Tue, 25 Jan 2011 11:50:22 +0100
Subject: [PATCH] Remove unnecessary virtual keyword.

---
 include/dynamic-graph/entity.h | 11 ++++-------
 src/dgraph/entity.cpp          |  1 +
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/include/dynamic-graph/entity.h b/include/dynamic-graph/entity.h
index 17c814f..b102178 100644
--- a/include/dynamic-graph/entity.h
+++ b/include/dynamic-graph/entity.h
@@ -87,16 +87,13 @@ namespace dynamicgraph
       return ;
     }
 
-    virtual const std::string& getCommandList () const;
-    virtual CommandMap_t getNewStyleCommandMap();
+    const std::string& getCommandList () const;
+    CommandMap_t getNewStyleCommandMap();
     command::Command* getNewStyleCommand( const std::string& cmdName );
 
-    virtual SignalMap getSignalMap() const;
+    SignalMap getSignalMap() const;
   protected:
-    /// Add a command to Entity
-    virtual void addCommand(const std::string& name,
-			    command::Command* command);
-
+    void addCommand(const std::string& name,command::Command* command);
 
     void entityRegistration ();
     void entityDeregistration ();
diff --git a/src/dgraph/entity.cpp b/src/dgraph/entity.cpp
index 3ea8900..8b37740 100644
--- a/src/dgraph/entity.cpp
+++ b/src/dgraph/entity.cpp
@@ -279,6 +279,7 @@ commandLine( const std::string& cmdLine,std::istringstream& cmdArgs,std::ostream
 
 }
 
+/// Add a command to Entity
 void Entity::
 addCommand(const std::string& inName, Command* command)
 {
-- 
GitLab