summaryrefslogtreecommitdiff
path: root/ace/Managed_Object.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/Managed_Object.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/Managed_Object.h')
-rw-r--r--ace/Managed_Object.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ace/Managed_Object.h b/ace/Managed_Object.h
index 32ba8d4f20e..1eee00516c3 100644
--- a/ace/Managed_Object.h
+++ b/ace/Managed_Object.h
@@ -18,12 +18,13 @@
#define ACE_MANAGED_OBJECT_H
#include "ace/OS.h"
-#include "ace/Object_Manager.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
-#pragma once
+# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
+#include "ace/Object_Manager.h"
+
template <class TYPE>
class ACE_Cleanup_Adapter : public ACE_Cleanup
{