From bc4a7854ece8a5c3467c445e6785f703ce9f15a3 Mon Sep 17 00:00:00 2001 From: Ralph Lange Date: Mon, 8 Aug 2011 18:31:19 +0200 Subject: [PATCH] libCom: Explicitly use namespace std for size_t declaration in epicsSingleton.h This fixes a compile error that occurs in new gcc versions (since ~4.6.1) --- src/libCom/cxxTemplates/epicsSingleton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libCom/cxxTemplates/epicsSingleton.h b/src/libCom/cxxTemplates/epicsSingleton.h index 056285465..b97c82b8c 100644 --- a/src/libCom/cxxTemplates/epicsSingleton.h +++ b/src/libCom/cxxTemplates/epicsSingleton.h @@ -34,7 +34,7 @@ public: void * pInstance () const; private: void * _pInstance; - size_t _refCount; + std :: size_t _refCount; SingletonUntyped ( const SingletonUntyped & ); SingletonUntyped & operator = ( const SingletonUntyped & ); };