summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-10-30 18:38:19 +0100
committerJose <jose@zeroc.com>2014-10-30 18:38:19 +0100
commitd4103b9c75f6229ff75bf8edb6af23652bd01de5 (patch)
treef22fdc5bc7155ff08315301b0621592fee9e698c /cpp/src/slice2cpp
parentFixed ICE-5782: Fixed background test failure (diff)
downloadice-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.cpp8
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)