summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/DescriptorParser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/DescriptorParser.cpp')
-rw-r--r--cpp/src/IceGrid/DescriptorParser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/IceGrid/DescriptorParser.cpp b/cpp/src/IceGrid/DescriptorParser.cpp
index 8d1b715cad6..003e280d25f 100644
--- a/cpp/src/IceGrid/DescriptorParser.cpp
+++ b/cpp/src/IceGrid/DescriptorParser.cpp
@@ -780,10 +780,10 @@ DescriptorHandler::elementValue()
bool
DescriptorHandler::isTargetDeployable(const string& target) const
{
- string application = _currentApplication.get() ? _currentApplication->getDescriptor().name : "";
- string node = _currentNode.get() ? _currentNode->getName() : "";
- string server = _currentServer.get() ? _currentServer->getDescriptor()->id : "";
- string service = _currentService.get() ? _currentService->getDescriptor()->name : "";
+ string application = _currentApplication.get() ? _currentApplication->getDescriptor().name : string("");
+ string node = _currentNode.get() ? _currentNode->getName() : string("");
+ string server = _currentServer.get() ? _currentServer->getDescriptor()->id : string("");
+ string service = _currentService.get() ? _currentService->getDescriptor()->name : string("");
//
// Compute the current fully qualified name of the communicator.