summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
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)