summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceGrid/Parser.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Parser.cpp b/cpp/src/IceGrid/Parser.cpp
index 4630a64d351..aa2d9ea5bb8 100644
--- a/cpp/src/IceGrid/Parser.cpp
+++ b/cpp/src/IceGrid/Parser.cpp
@@ -512,7 +512,8 @@ Parser::describeServiceTemplate(const list<string>& args)
out << nl << "parameters = `" << toString(q->second.parameters) << "'";
}
out << nl;
- ServiceHelper(ServiceDescriptorPtr::dynamicCast(q->second.descriptor)).print(out);
+ ServiceDescriptorPtr desc = ServiceDescriptorPtr::dynamicCast(q->second.descriptor);
+ ServiceHelper(desc).print(out);
out << eb;
out << nl;
}