summaryrefslogtreecommitdiff
path: root/ace/Singleton.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-15 01:07:08 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-15 01:07:08 +0000
commitb482edbe0072c2d2ecff85be0a30658374c9c1a8 (patch)
tree47e5f0c6a1752db395fa3c06ed8cfe868aca7d31 /ace/Singleton.h
parentc7d9c954ddb839df34e571303b821fb4f90b0451 (diff)
downloadATCD-b482edbe0072c2d2ecff85be0a30658374c9c1a8.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Singleton.h')
-rw-r--r--ace/Singleton.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/ace/Singleton.h b/ace/Singleton.h
index f2bcdde8c3d..853910ad172 100644
--- a/ace/Singleton.h
+++ b/ace/Singleton.h
@@ -52,11 +52,12 @@ protected:
static TYPE *&instance_i (void);
// Get pointer to the Singleton instance
- static LOCK &singleton_lock_ (void);
+ static LOCK &singleton_lock_i (void);
// Get reference to Singleton lock;
};
-template <class TYPE, class LOCK, ACE_Singleton_Strategy MEMORY>
+#if 0
+template <class TYPE, class LOCK, ACE_SingletonEx_Strategy MEMORY>
class ACE_SingletonEx
// = TITLE
// A Singleton Adapter that can allocate memory either off the
@@ -88,9 +89,10 @@ protected:
static TYPE *&instance_i (void);
// Get pointer to the SingletonEx instance.
- static LOCK &singleton_lock_ (void);
+ static LOCK &singleton_lock_i (void);
// Get reference to SingletonEx lock;
};
+#endif
#if defined (__ACE_INLINE__)
#include "ace/Singleton.i"