diff options
Diffstat (limited to 'ace/Dynamic_Service.cpp')
-rw-r--r-- | ace/Dynamic_Service.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ace/Dynamic_Service.cpp b/ace/Dynamic_Service.cpp index 9178889675c..dd0d8d0c679 100644 --- a/ace/Dynamic_Service.cpp +++ b/ace/Dynamic_Service.cpp @@ -1,8 +1,7 @@ -// Dynamic_Service.cpp // $Id$ -#ifndef ACE_DYNAMIC_SERVICE_C -#define ACE_DYNAMIC_SERVICE_C +#ifndef ACE_DYNAMIC_SERVICE_CPP +#define ACE_DYNAMIC_SERVICE_CPP #include "ace/Dynamic_Service.h" @@ -16,14 +15,16 @@ #include "ace/Dynamic_Service.inl" #endif /* __ACE_INLINE__ */ +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + template <class TYPE> TYPE * ACE_Dynamic_Service<TYPE>::instance (const ACE_TCHAR *name) { - ACE_Service_Object *svc_obj = + ACE_Service_Object * svc_obj = static_cast<ACE_Service_Object *> (ACE_Dynamic_Service_Base::instance (name)); return dynamic_cast<TYPE *> (svc_obj); } -ACE_RCSID(ace, Dynamic_Service, "$Id$") +ACE_END_VERSIONED_NAMESPACE_DECL -#endif /* ACE_DYNAMIC_SERVICE_C */ +#endif /* ACE_DYNAMIC_SERVICE_CPP */ |