summaryrefslogtreecommitdiff
path: root/ace/Singleton.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Singleton.h')
-rw-r--r--ace/Singleton.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/Singleton.h b/ace/Singleton.h
index 1f0b57f1a47..034c2ee2ae7 100644
--- a/ace/Singleton.h
+++ b/ace/Singleton.h
@@ -62,14 +62,14 @@ protected:
static ACE_Singleton<TYPE, ACE_LOCK> *singleton_;
// Pointer to the Singleton (ACE_Cleanup) instance.
- static LOCK ace_singleton_lock_;
+ static ACE_LOCK ace_singleton_lock_;
// Lock the creation of the singleton.
#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */
static ACE_Singleton<TYPE, ACE_LOCK> *&instance_i (void);
// Get pointer to the Singleton instance.
- static LOCK &singleton_lock_i (void);
+ static ACE_LOCK &singleton_lock_i (void);
// Get reference to Singleton lock.
};
@@ -114,7 +114,7 @@ protected:
static ACE_TSS_Singleton<TYPE, ACE_LOCK> *singleton_;
// Pointer to the Singleton (ACE_Cleanup) instance.
- static LOCK ace_singleton_lock_;
+ static ACE_LOCK ace_singleton_lock_;
// Lock the creation of the singleton.
#endif /* ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES */
};