diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2009-05-11 16:30:12 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2009-05-11 16:30:12 -0230 |
commit | 95ceac932537938ed9645f5bad984aff0d9256ee (patch) | |
tree | 53767a0a6700215501890b90f8c6fe89a74bd124 /cpp/src/slice2cpp/Gen.cpp | |
parent | Bug 1294 - declare generated C# classes as partial (diff) | |
download | ice-95ceac932537938ed9645f5bad984aff0d9256ee.tar.bz2 ice-95ceac932537938ed9645f5bad984aff0d9256ee.tar.xz ice-95ceac932537938ed9645f5bad984aff0d9256ee.zip |
Remove unnecessary scoping
Diffstat (limited to 'cpp/src/slice2cpp/Gen.cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index fd4c606ff19..5d3ebdfb481 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -963,7 +963,7 @@ Slice::Gen::TypesVisitor::visitStructEnd(const StructPtr& p) dllExport = _dllExport; } - H << sp << nl << "bool" << nl << scoped.substr(2) << "::operator==(const " << name << "& __rhs) const"; + H << sp << nl << "bool operator==(const " << name << "& __rhs) const"; H << sb; H << nl << "if(this == &__rhs)"; H << sb; @@ -978,7 +978,7 @@ Slice::Gen::TypesVisitor::visitStructEnd(const StructPtr& p) } H << nl << "return true;"; H << eb; - H << sp << nl << "bool" << nl << scoped.substr(2) << "::operator<(const " << name << "& __rhs) const"; + H << sp << nl << "bool operator<(const " << name << "& __rhs) const"; H << sb; H << nl << "if(this == &__rhs)"; H << sb; |