summaryrefslogtreecommitdiff
path: root/ace/Auto_Ptr.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Auto_Ptr.h')
-rw-r--r--ace/Auto_Ptr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Auto_Ptr.h b/ace/Auto_Ptr.h
index 5ac032a2fb7..54bd64e32a8 100644
--- a/ace/Auto_Ptr.h
+++ b/ace/Auto_Ptr.h
@@ -20,6 +20,10 @@
#include "ace/ACE.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+#pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
template <class X>
class ACE_Auto_Basic_Ptr
{