summaryrefslogtreecommitdiff
path: root/ace/Singleton.h
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-10-20 02:34:57 +0000
commit5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch)
tree5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/Singleton.h
parent2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff)
downloadATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
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 419af5bac9c..14bb6461ccb 100644
--- a/ace/Singleton.h
+++ b/ace/Singleton.h
@@ -23,7 +23,7 @@
#include "ace/Synch.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
+# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
template <class TYPE, class ACE_LOCK>
@@ -51,9 +51,9 @@ class ACE_Singleton : public ACE_Cleanup
//
// (a) Make the constructor of <T> private (or protected)
// (b) Make Singleton a friend of <T>
- //
+ //
// Here is an example:
- //
+ //
// class foo
// {
// friend class ACE_Singleton<foo, ACE_Null_Mutex>;