From ea4320234437b4a493afefd978acbda95b77b711 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sat, 24 Jul 2010 01:33:38 +0000 Subject: [PATCH] + fixed template parameter shadowing (clang++) --- include/mapnik/utils.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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; }