summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/LocatorRegistryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/LocatorRegistryI.cpp')
-rw-r--r--cpp/src/IceGrid/LocatorRegistryI.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/LocatorRegistryI.cpp b/cpp/src/IceGrid/LocatorRegistryI.cpp
index 2bb8efa0183..5b187460681 100644
--- a/cpp/src/IceGrid/LocatorRegistryI.cpp
+++ b/cpp/src/IceGrid/LocatorRegistryI.cpp
@@ -166,7 +166,7 @@ LocatorRegistryI::setAdapterDirectProxy_async(const Ice::AMD_LocatorRegistry_set
{
Ice::Trace out(traceLevels->logger, traceLevels->locatorCat);
out << "registered adapter `" << adapterId << "' endpoints: `"
- << (proxy ? proxy->ice_toString() : "") << "'";
+ << (proxy ? proxy->ice_toString() : string("")) << "'";
}
return;
}
@@ -220,7 +220,7 @@ LocatorRegistryI::setReplicatedAdapterDirectProxy_async(
{
Ice::Trace out(traceLevels->logger, traceLevels->locatorCat);
out << "registered replicated adapter `" << adapterId << "' endpoints: `"
- << (proxy ? proxy->ice_toString() : "") << "'";
+ << (proxy ? proxy->ice_toString() : string("")) << "'";
}
return;
}
@@ -270,7 +270,8 @@ LocatorRegistryI::setServerProcessProxy_async(const Ice::AMD_LocatorRegistry_set
if(traceLevels->locator > 1)
{
Ice::Trace out(traceLevels->logger, traceLevels->locatorCat);
- out << "registered server `" << id << "' process proxy: `" << (proxy ? proxy->ice_toString() : "") << "'";
+ out << "registered server `" << id << "' process proxy: `" << (proxy ? proxy->ice_toString() : string(""))
+ << "'";
}
return;
}