summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/DSI/Database_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/DSI/Database_i.cpp')
-rw-r--r--TAO/examples/POA/DSI/Database_i.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/examples/POA/DSI/Database_i.cpp b/TAO/examples/POA/DSI/Database_i.cpp
index 108bf93941b..e737408df58 100644
--- a/TAO/examples/POA/DSI/Database_i.cpp
+++ b/TAO/examples/POA/DSI/Database_i.cpp
@@ -89,7 +89,7 @@ DatabaseImpl::Entry::is_a (CORBA::ServerRequest_ptr request,
ACE_CHECK;
CORBA::Any_ptr ap = nv->value ();
- char *value;
+ const char *value;
*ap >>= value;
const char *object_id =
@@ -161,7 +161,7 @@ DatabaseImpl::Agent::create_entry (const char *key,
ACE_THROW_RETURN (Database::Unknown_Type (),
Database::Entry::_nil ());
- char *name = 0;
+ const char *name = 0;
CORBA::Long id = 0;
const Database::NamedValue &first =