summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slicer/slicer/modelParts.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/slicer/slicer/modelParts.cpp b/slicer/slicer/modelParts.cpp
index b234777..d8662e4 100644
--- a/slicer/slicer/modelParts.cpp
+++ b/slicer/slicer/modelParts.cpp
@@ -111,13 +111,13 @@ namespace Slicer {
return ref ? ref->Child() : ModelPartPtr(NULL);
}
- template<> std::string Slicer::ModelPartForRoot<std::string>::rootName = "String";
- template<> std::string Slicer::ModelPartForRoot<bool>::rootName = "Boolean";
- template<> std::string Slicer::ModelPartForRoot<Ice::Float>::rootName = "Float";
- template<> std::string Slicer::ModelPartForRoot<Ice::Double>::rootName = "Double";
- template<> std::string Slicer::ModelPartForRoot<Ice::Byte>::rootName = "Byte";
- template<> std::string Slicer::ModelPartForRoot<Ice::Short>::rootName = "Short";
- template<> std::string Slicer::ModelPartForRoot<Ice::Int>::rootName = "Int";
- template<> std::string Slicer::ModelPartForRoot<Ice::Long>::rootName = "Long";
+ template<> DLL_PUBLIC std::string Slicer::ModelPartForRoot<std::string>::rootName = "String";
+ template<> DLL_PUBLIC std::string Slicer::ModelPartForRoot<bool>::rootName = "Boolean";
+ template<> DLL_PUBLIC std::string Slicer::ModelPartForRoot<Ice::Float>::rootName = "Float";
+ template<> DLL_PUBLIC std::string Slicer::ModelPartForRoot<Ice::Double>::rootName = "Double";
+ template<> DLL_PUBLIC std::string Slicer::ModelPartForRoot<Ice::Byte>::rootName = "Byte";
+ template<> DLL_PUBLIC std::string Slicer::ModelPartForRoot<Ice::Short>::rootName = "Short";
+ template<> DLL_PUBLIC std::string Slicer::ModelPartForRoot<Ice::Int>::rootName = "Int";
+ template<> DLL_PUBLIC std::string Slicer::ModelPartForRoot<Ice::Long>::rootName = "Long";
}