summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2017-02-09 10:50:06 +0100
committerJose <jose@zeroc.com>2017-02-09 10:50:06 +0100
commit90972dca07ffa4d327a987b308f6591fd4ec0d74 (patch)
tree028852c9c0cb10958c9374c303dda03e50011e54 /cpp/src/slice2cpp
parentFixed deprecated warnings in defaultValue test (diff)
downloadice-90972dca07ffa4d327a987b308f6591fd4ec0d74.tar.bz2
ice-90972dca07ffa4d327a987b308f6591fd4ec0d74.tar.xz
ice-90972dca07ffa4d327a987b308f6591fd4ec0d74.zip
Fixed ICE-7568 - namespace not correctly escape in C++
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 7845b53633c..d45baf216f6 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -2861,7 +2861,7 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p)
// But we do this only once per source file, because a single instance is sufficient to initialize
// all of the globals in a compilation unit.
//
- H << nl << "static ::Ice::ValueFactoryPtr _iceS_" << p->name() << "_init = " << p->scoped() << "::ice_factory();";
+ H << nl << "static ::Ice::ValueFactoryPtr _iceS_" << p->name() << "_init = " << fixKwd(p->scoped()) << "::ice_factory();";
}
if(p->isLocal())