summaryrefslogtreecommitdiff
path: root/ace/Managed_Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Managed_Object.h')
-rw-r--r--ace/Managed_Object.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Managed_Object.h b/ace/Managed_Object.h
index 0566718159f..1fc19a46376 100644
--- a/ace/Managed_Object.h
+++ b/ace/Managed_Object.h
@@ -20,6 +20,10 @@
#include "ace/OS.h"
#include "ace/Object_Manager.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+#pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
template <class TYPE>
class ACE_Cleanup_Adapter : public ACE_Cleanup
{