From efe8b0a646d6817f8fdb801e0ce88a4706d7e049 Mon Sep 17 00:00:00 2001 From: Pierre Gergondet <pierre.gergondet@gmail.com> Date: Wed, 23 Jul 2014 17:55:42 +0900 Subject: [PATCH] Don't export/import template functions --- include/dynamic-graph/signal-cast-helper.h | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/include/dynamic-graph/signal-cast-helper.h b/include/dynamic-graph/signal-cast-helper.h index a07738c..f7704db 100644 --- a/include/dynamic-graph/signal-cast-helper.h +++ b/include/dynamic-graph/signal-cast-helper.h @@ -50,14 +50,12 @@ namespace dynamicgraph static boost::any cast (std::istringstream& iss); - DYNAMIC_GRAPH_DLLAPI - static void disp (const boost::any& object, std::ostream& os) + static void disp (const boost::any& object, std::ostream& os) { os << boost::any_cast<T> (object) << std::endl; } - DYNAMIC_GRAPH_DLLAPI - static void trace (const boost::any& object, std::ostream& os) + static void trace (const boost::any& object, std::ostream& os) { disp(object,os); } @@ -155,15 +153,12 @@ public: static void disp( TYPE const& t,std::ostream& os ) DISP \ static void trace( TYPE const& t,std::ostream& os ) TRACE \ public: \ - DYNAMIC_GRAPH_DLLAPI \ static boost::any cast_( std::istringstream& stringValue ) { \ return boost::any_cast<TYPE>(cast(stringValue)); \ } \ - DYNAMIC_GRAPH_DLLAPI \ static void disp_( const boost::any& t,std::ostream& os ) { \ disp(boost::any_cast<TYPE>(t), os); \ } \ - DYNAMIC_GRAPH_DLLAPI \ static void trace_( const boost::any& t,std::ostream& os ) { \ trace(boost::any_cast<TYPE>(t),os); \ } \ -- GitLab