summaryrefslogtreecommitdiff
path: root/ace/Dynamic_Service_Base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ace/Dynamic_Service_Base.cpp')
-rw-r--r--ace/Dynamic_Service_Base.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/ace/Dynamic_Service_Base.cpp b/ace/Dynamic_Service_Base.cpp
index 4f62b6de092..bec17fb079f 100644
--- a/ace/Dynamic_Service_Base.cpp
+++ b/ace/Dynamic_Service_Base.cpp
@@ -9,6 +9,7 @@ ACE_RCSID (ace,
Dynamic_Service_Base,
"$Id$")
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
void
ACE_Dynamic_Service_Base::dump (void) const
@@ -39,6 +40,8 @@ ACE_Dynamic_Service_Base::instance (const ACE_TCHAR *name)
if (type == 0)
return 0;
- void *obj = type->object ();
+ void * const obj = type->object ();
return obj;
}
+
+ACE_END_VERSIONED_NAMESPACE_DECL