From c5de5f8dcecc459cb14b5702bea78a6c69709f3b Mon Sep 17 00:00:00 2001 From: Francois Keith <francois.keith@gmail.com> Date: Thu, 14 Apr 2011 11:03:04 +0200 Subject: [PATCH] Win32: Correct the importation/exportation of symbols --- include/dynamic-graph/value.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/dynamic-graph/value.h b/include/dynamic-graph/value.h index 27d0764f..5630552a 100644 --- a/include/dynamic-graph/value.h +++ b/include/dynamic-graph/value.h @@ -28,7 +28,7 @@ namespace dynamicgraph { namespace command { class Value; - class EitherType { + class DYNAMIC_GRAPH_DLLEXPORT EitherType { public: EitherType(const Value& value); ~EitherType(); @@ -92,9 +92,9 @@ namespace dynamicgraph { static std::string typeName(Type type); /// Output in a stream - friend std::ostream& operator<<(std::ostream& os, const Value& value); + DYNAMIC_GRAPH_DLLEXPORT friend std::ostream& operator<<(std::ostream& os, const Value& value); public: - friend class EitherType; + DYNAMIC_GRAPH_DLLEXPORT friend class EitherType; bool boolValue() const; unsigned unsignedValue() const; int intValue() const; -- GitLab