diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-07 22:38:42 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1999-06-07 22:38:42 +0000 |
commit | 84fdc60918c36bdf7f3b76d010011abb2a9b9b25 (patch) | |
tree | ea9b7e325e5f333f134bb314b7e368c381ee3f4a | |
parent | cda6b3d11bfa780cc0f8ae9604986d1dfbda3bc4 (diff) | |
download | ATCD-84fdc60918c36bdf7f3b76d010011abb2a9b9b25.tar.gz |
.
-rw-r--r-- | TAO/examples/POA/DSI/client.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/TAO/examples/POA/DSI/client.cpp b/TAO/examples/POA/DSI/client.cpp index 589559e0705..66cd569662c 100644 --- a/TAO/examples/POA/DSI/client.cpp +++ b/TAO/examples/POA/DSI/client.cpp @@ -153,7 +153,7 @@ main (int argc, char **argv) Database::NamedValue &second = employee_attributes[1]; - char *name = "irfan"; + const char *name = "irfan"; CORBA::Long id = 555; first.name = CORBA::string_dup ("name"); @@ -161,7 +161,8 @@ main (int argc, char **argv) second.name = CORBA::string_dup ("id"); second.value <<= id; - ACE_OS::strcpy (str,"Database::Agent::create_entry"); + ACE_OS::strcpy (str, + "Database::Agent::create_entry"); // Create an employee Database::Entry_var entry = |