fix build on windows by ensuring singleton base is exported (avoids inconsistent dll linkage error)

This commit is contained in:
Dane Springmeyer 2013-05-09 17:06:41 -07:00
parent a7a106109d
commit 5bb1c067af

View file

@ -95,7 +95,7 @@ public:
};
template <typename T,
template <typename U> class CreatePolicy=CreateStatic> class MAPNIK_DECL singleton
template <typename U> class CreatePolicy=CreateStatic> class MAPNIK_EXP singleton
{
#ifdef __SUNPRO_CC
/* Sun's C++ compiler will issue the following errors if CreatePolicy<T> is used: