Files
ports/net/gatekeeper/files/patch-singleton.h
T
Alexey Dokuchaev 98259803c3 Unbreak the build with recent GCC.
Reported by:	kris
Approved by:	portmgr (krion), fjoe (mentor, implicit)
2004-10-08 03:54:38 +00:00

16 lines
292 B
C++

--- singleton.h.orig Thu Oct 7 19:42:31 2004
+++ singleton.h Thu Oct 7 19:42:49 2004
@@ -87,12 +87,7 @@
Singleton();
~Singleton();
-#ifdef WIN32
public:
-#else
- private:
- friend T *InstanceOf<T>();
-#endif
static SingletonBase *m_Instance;
static PMutex m_CreationLock;
};