diff options
author | Benoit Foucher <benoit@zeroc.com> | 2016-02-03 12:44:34 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2016-02-03 12:44:34 +0100 |
commit | abff64c8fd2bc5bba48d0ed4753c1d77b5994a3c (patch) | |
tree | 82b86cfeac5f88832442e6337a70011b339e0781 /cpp/src/slice2cpp | |
parent | Refactored invocation code to better suite new C++11 mapping (diff) | |
download | ice-abff64c8fd2bc5bba48d0ed4753c1d77b5994a3c.tar.bz2 ice-abff64c8fd2bc5bba48d0ed4753c1d77b5994a3c.tar.xz ice-abff64c8fd2bc5bba48d0ed4753c1d77b5994a3c.zip |
Fixed C++98 compilation error in generated code
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 105af99958e..ca87afb7235 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -2814,7 +2814,7 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p) if(!p->isAbstract()) { string initName = p->flattenedScope() + p->name() + "_init"; - C << nl << "const ::IceInternal::DefaultValueFactoryInit<" << scoped << "> " + C << nl << "const ::IceInternal::DefaultValueFactoryInit< " << scoped << "> " << initName << "(\"" << p->scoped() << "\");"; } if(p->compactId() >= 0) |