Skip to content

Commit efe8b0a

Browse files
committed
Don't export/import template functions
1 parent e30bf72 commit efe8b0a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

include/dynamic-graph/signal-cast-helper.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,12 @@ namespace dynamicgraph
5050

5151
static boost::any cast (std::istringstream& iss);
5252

53-
DYNAMIC_GRAPH_DLLAPI
54-
static void disp (const boost::any& object, std::ostream& os)
53+
static void disp (const boost::any& object, std::ostream& os)
5554
{
5655
os << boost::any_cast<T> (object) << std::endl;
5756
}
5857

59-
DYNAMIC_GRAPH_DLLAPI
60-
static void trace (const boost::any& object, std::ostream& os)
58+
static void trace (const boost::any& object, std::ostream& os)
6159
{
6260
disp(object,os);
6361
}
@@ -155,15 +153,12 @@ public:
155153
static void disp( TYPE const& t,std::ostream& os ) DISP \
156154
static void trace( TYPE const& t,std::ostream& os ) TRACE \
157155
public: \
158-
DYNAMIC_GRAPH_DLLAPI \
159156
static boost::any cast_( std::istringstream& stringValue ) { \
160157
return boost::any_cast<TYPE>(cast(stringValue)); \
161158
} \
162-
DYNAMIC_GRAPH_DLLAPI \
163159
static void disp_( const boost::any& t,std::ostream& os ) { \
164160
disp(boost::any_cast<TYPE>(t), os); \
165161
} \
166-
DYNAMIC_GRAPH_DLLAPI \
167162
static void trace_( const boost::any& t,std::ostream& os ) { \
168163
trace(boost::any_cast<TYPE>(t),os); \
169164
} \

0 commit comments

Comments
 (0)