From 8a2bc8c08e411428482f065e73421bc96d0e8d43 Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Sat, 5 Dec 2015 16:49:58 +0000
Subject: Add missing DLL_PUBLIC on root names

---
 slicer/slicer/modelParts.cpp | 16 ++++++++--------
 1 file 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";
 }
 
-- 
cgit v1.2.3