From d4103b9c75f6229ff75bf8edb6af23652bd01de5 Mon Sep 17 00:00:00 2001 From: Jose Date: Thu, 30 Oct 2014 18:38:19 +0100 Subject: Fix overloaded-virtual warnings --- cpp/src/slice2cpp/Gen.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cpp/src/slice2cpp/Gen.cpp') 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) -- cgit v1.2.3