summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp/Gen.cpp
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2004-10-18 04:08:58 +0000
committerMichi Henning <michi@zeroc.com>2004-10-18 04:08:58 +0000
commit22a5e1bac0c854da75000b4a8a6185127a76cad7 (patch)
treec6742d9d4ef2b184fa1f6e37d74696a64137d483 /cpp/src/slice2cpp/Gen.cpp
parentFixed bug reported in (diff)
downloadice-22a5e1bac0c854da75000b4a8a6185127a76cad7.tar.bz2
ice-22a5e1bac0c854da75000b4a8a6185127a76cad7.tar.xz
ice-22a5e1bac0c854da75000b4a8a6185127a76cad7.zip
Fix to previous fix.
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index 6916846b1cb..b3ee5c7a9ab 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -525,7 +525,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p)
H << nl << "__" << p->name() << "_init();";
H << eb << ';';
- C << sp << nl << p->name() << "::__" << p->name() << "_init::__" << p->name() << "_init()";
+ C << sp << nl << scoped << "::__" << p->name() << "_init::__" << p->name() << "_init()";
C << sb;
C << eb;
@@ -2279,7 +2279,7 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p)
H << nl << "__" << p->name() << "_init();";
H << eb << ';';
- C << sp << nl << name << "::__" << p->name() << "_init::__" << name << "_init()";
+ C << sp << nl << scoped << "::__" << p->name() << "_init::__" << name << "_init()";
C << sb;
C << eb;