summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/ImplRepo_Service/LiveCheck.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2018-08-09 20:46:56 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2018-08-09 20:46:56 +0200
commit3dedafeb6acafeb5701375bd765b04357e5a921c (patch)
tree6aaa1c5f586e581d330b8c9874f8df71f2cca04f /TAO/orbsvcs/ImplRepo_Service/LiveCheck.cpp
parent5351dea3eb3fd7c32819ada82049403d8cae6a7f (diff)
downloadATCD-3dedafeb6acafeb5701375bd765b04357e5a921c.tar.gz
Const and unicode fixes
* TAO/orbsvcs/ImplRepo_Service/LiveCheck.cpp: * TAO/orbsvcs/ImplRepo_Service/Locator_Repository.cpp: * TAO/orbsvcs/ImplRepo_Service/Shared_Backing_Store.cpp: * TAO/orbsvcs/ImplRepo_Service/XML_Backing_Store.cpp: * TAO/tao/ImR_Client/ImR_Client.cpp:
Diffstat (limited to 'TAO/orbsvcs/ImplRepo_Service/LiveCheck.cpp')
-rw-r--r--TAO/orbsvcs/ImplRepo_Service/LiveCheck.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/ImplRepo_Service/LiveCheck.cpp b/TAO/orbsvcs/ImplRepo_Service/LiveCheck.cpp
index 526ce5ebca9..cf42205511d 100644
--- a/TAO/orbsvcs/ImplRepo_Service/LiveCheck.cpp
+++ b/TAO/orbsvcs/ImplRepo_Service/LiveCheck.cpp
@@ -849,7 +849,7 @@ LiveCheck::remove_server (const char *server, int pid)
{
ACE_CString s(server);
LiveEntry *entry = 0;
- int result = entry_map_.find (s, entry);
+ int const result = entry_map_.find (s, entry);
if (result != -1 && entry->has_pid (pid))
{
if (!this->in_handle_timeout ())
@@ -900,7 +900,7 @@ LiveCheck::remove_deferred_servers (void)
ACE_TEXT ("removing %s\n"), (*re).c_str()));
}
LiveEntry *entry = 0;
- int result = entry_map_.unbind (*re, entry);
+ int const result = entry_map_.unbind (*re, entry);
if (result == 0)
{
delete entry;