diff --git a/include/mapnik/utils.hpp b/include/mapnik/utils.hpp index 23889a7b5..7aa66dc1d 100644 --- a/include/mapnik/utils.hpp +++ b/include/mapnik/utils.hpp @@ -96,7 +96,7 @@ namespace mapnik }; template class CreatePolicy=CreateStatic> class singleton + template class CreatePolicy=CreateStatic> class singleton { #ifdef __SUNPRO_CC /* Sun's C++ compiler will issue the following errors if CreatePolicy is used: @@ -159,13 +159,13 @@ namespace mapnik }; #ifdef MAPNIK_THREADSAFE template class CreatePolicy> mutex singleton::mutex_; + template class CreatePolicy> mutex singleton::mutex_; #endif template class CreatePolicy> T* singleton::pInstance_=0; + template class CreatePolicy> T* singleton::pInstance_=0; template class CreatePolicy> bool singleton::destroyed_=false; + template class CreatePolicy> bool singleton::destroyed_=false; }