diff options
author | Jose <jose@zeroc.com> | 2014-10-30 18:38:19 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2014-10-30 18:38:19 +0100 |
commit | d4103b9c75f6229ff75bf8edb6af23652bd01de5 (patch) | |
tree | f22fdc5bc7155ff08315301b0621592fee9e698c /cpp/src/slice2cpp | |
parent | Fixed ICE-5782: Fixed background test failure (diff) | |
download | ice-d4103b9c75f6229ff75bf8edb6af23652bd01de5.tar.bz2 ice-d4103b9c75f6229ff75bf8edb6af23652bd01de5.tar.xz ice-d4103b9c75f6229ff75bf8edb6af23652bd01de5.zip |
Fix overloaded-virtual warnings
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 0c7372b7060..b81d26c9c35 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -901,10 +901,8 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p) else { string baseName = base ? fixKwd(base->scoped()) : string("::Ice::UserException"); - H << nl << "#ifdef __SUNPRO_CC"; H << nl << "using " << baseName << "::__write;"; H << nl << "using " << baseName << "::__read;"; - H << nl << "#endif"; } } @@ -923,10 +921,8 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p) else { string baseName = base ? fixKwd(base->scoped()) : string("::Ice::UserException"); - H << nl << "#ifdef __SUNPRO_CC"; H << nl << "using " << baseName << "::__writeImpl;"; H << nl << "using " << baseName << "::__readImpl;"; - H << nl << "#endif"; } if(preserved && !basePreserved) @@ -3103,10 +3099,8 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p) else { string baseName = base ? fixKwd(base->scoped()) : string("::Ice::Object"); - H << nl << "#ifdef __SUNPRO_CC"; H << nl << "using " << baseName << "::__write;"; H << nl << "using " << baseName << "::__read;"; - H << nl << "#endif"; } } @@ -3125,10 +3119,8 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p) else { string baseName = base ? fixKwd(base->scoped()) : string("::Ice::Object"); - H << nl << "#ifdef __SUNPRO_CC"; H << nl << "using " << baseName << "::__writeImpl;"; H << nl << "using " << baseName << "::__readImpl;"; - H << nl << "#endif"; } if(preserved && !basePreserved) |