summaryrefslogtreecommitdiff
path: root/ace/Singleton.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-14 21:45:15 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1998-10-14 21:45:15 +0000
commite150ebbecf9525a47a1a144fe202a2f83b396c39 (patch)
tree9d4be762e03bbb102e7255a87956c2dea7c5bda7 /ace/Singleton.h
parent62cac453b72e681ac9df6e7685bece40a6427878 (diff)
downloadATCD-e150ebbecf9525a47a1a144fe202a2f83b396c39.tar.gz
.
Diffstat (limited to 'ace/Singleton.h')
-rw-r--r--ace/Singleton.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Singleton.h b/ace/Singleton.h
index b4d0a128e6b..91ab3833657 100644
--- a/ace/Singleton.h
+++ b/ace/Singleton.h
@@ -22,6 +22,10 @@
#include "ace/Synch.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+#pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
template <class TYPE, class ACE_LOCK>
class ACE_Singleton : public ACE_Cleanup
{