summaryrefslogtreecommitdiff
path: root/ace/Dynamic_Service.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Dynamic_Service.h')
-rw-r--r--ace/Dynamic_Service.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ace/Dynamic_Service.h b/ace/Dynamic_Service.h
index 1f305f00a96..bd7ef408f16 100644
--- a/ace/Dynamic_Service.h
+++ b/ace/Dynamic_Service.h
@@ -1,7 +1,6 @@
/* -*- C++ -*- */
// $Id$
-
// ============================================================================
//
// = LIBRARY
@@ -18,6 +17,10 @@
#if !defined (ACE_DYNAMIC_SERVICE_H)
#define ACE_DYNAMIC_SERVICE_H
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+#pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
template <class SERVICE>
class ACE_Dynamic_Service
{