summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-05 16:49:58 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-05 16:49:58 +0000
commit8a2bc8c08e411428482f065e73421bc96d0e8d43 (patch)
treeb5bc5046f61c96c452e6d0e3a671c00978eb68ea
parentMerge branch 'p2pvr-slicer' (diff)
downloadslicer-8a2bc8c08e411428482f065e73421bc96d0e8d43.tar.bz2
slicer-8a2bc8c08e411428482f065e73421bc96d0e8d43.tar.xz
slicer-8a2bc8c08e411428482f065e73421bc96d0e8d43.zip
Add missing DLL_PUBLIC on root names
-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";
}