From 1549909bdd39815e8438488b778b4bd0de82aea3 Mon Sep 17 00:00:00 2001
From: Mansard <nmansard@laas.fr>
Date: Wed, 9 Mar 2011 15:45:39 +0100
Subject: [PATCH] Problem of automatic typing with templates.

---
 include/dynamic-graph/command-bind.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/dynamic-graph/command-bind.h b/include/dynamic-graph/command-bind.h
index 47ecf1e..a0ce2b8 100644
--- a/include/dynamic-graph/command-bind.h
+++ b/include/dynamic-graph/command-bind.h
@@ -204,7 +204,7 @@ namespace dynamicgraph {
     template <class E,typename T1,typename T2 >
     CommandVoid2<E,T1,T2>*
       makeCommandVoid2(E& entity,
-		       typename CommandVoid2<E,T1,T2>::function_t function ,
+		       boost::function<void(const T1&,const T2&)> function,
 		       const std::string& docString)
       {
     	return new CommandVoid2<E,T1,T2>( entity,function,docString );
-- 
GitLab