diff options
author | Bernard Normier <bernard@zeroc.com> | 2016-11-05 10:50:17 -0400 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2016-11-05 10:50:17 -0400 |
commit | ebfc07ad0d40dcf9643ab45e63fdece64a60de01 (patch) | |
tree | 89f71993027278bf3f9a23696d3c6054b0d18510 /cpp/src/slice2cpp | |
parent | Add .gitignore for js/test/Ice/import (diff) | |
download | ice-ebfc07ad0d40dcf9643ab45e63fdece64a60de01.tar.bz2 ice-ebfc07ad0d40dcf9643ab45e63fdece64a60de01.tar.xz ice-ebfc07ad0d40dcf9643ab45e63fdece64a60de01.zip |
Revert "Renamed protected _slicedData to _iceSlicedData in generated code"
This reverts commit c6d8754a04932dacf8bdfff8d3d871be3f701403.
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index 848ec2ab81c..94a555d0e63 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -1187,11 +1187,11 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p) if(preserved && !basePreserved) { - H << sp << nl << "::Ice::SlicedDataPtr _iceSlicedData;"; + H << sp << nl << "::Ice::SlicedDataPtr _slicedData;"; C << sp << nl << "void" << nl << scoped.substr(2) << "::iceWrite(::Ice::OutputStream* iceOs) const"; C << sb; - C << nl << "iceOs->startException(_iceSlicedData);"; + C << nl << "iceOs->startException(_slicedData);"; C << nl << "iceWriteImpl(iceOs);"; C << nl << "iceOs->endException();"; C << eb; @@ -1200,7 +1200,7 @@ Slice::Gen::TypesVisitor::visitExceptionEnd(const ExceptionPtr& p) C << sb; C << nl << "iceIs->startException();"; C << nl << "iceReadImpl(iceIs);"; - C << nl << "_iceSlicedData = iceIs->endException(true);"; + C << nl << "_slicedData = iceIs->endException(true);"; C << eb; } @@ -2669,7 +2669,7 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p) C << sp; C << nl << "void" << nl << scoped.substr(2) << "::iceWrite(::Ice::OutputStream* iceOs) const"; C << sb; - C << nl << "iceOs->startValue(_iceSlicedData);"; + C << nl << "iceOs->startValue(_slicedData);"; C << nl << "iceWriteImpl(iceOs);"; C << nl << "iceOs->endValue();"; C << eb; @@ -2679,7 +2679,7 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p) C << sb; C << nl << "iceIs->startValue();"; C << nl << "iceReadImpl(iceIs);"; - C << nl << "_iceSlicedData = iceIs->endValue(true);"; + C << nl << "_slicedData = iceIs->endValue(true);"; C << eb; } @@ -2787,7 +2787,7 @@ Slice::Gen::ObjectVisitor::visitClassDefEnd(const ClassDefPtr& p) H.inc(); inProtected = true; } - H << sp << nl << "::Ice::SlicedDataPtr _iceSlicedData;"; + H << sp << nl << "::Ice::SlicedDataPtr _slicedData;"; } if(generateFriend) @@ -3147,9 +3147,9 @@ Slice::Gen::ObjectVisitor::emitGCFunctions(const ClassDefPtr& p) if(preserved && !basePreserved) { - C << nl << "if(_iceSlicedData)"; + C << nl << "if(_slicedData)"; C << sb; - C << nl << "_iceSlicedData->iceGcVisitMembers(_v);"; + C << nl << "_slicedData->iceGcVisitMembers(_v);"; C << eb; } @@ -5480,11 +5480,11 @@ Slice::Gen::Cpp11TypesVisitor::visitExceptionEnd(const ExceptionPtr& p) H << sp << nl << _dllMemberExport << "virtual void iceWrite(::Ice::OutputStream*) const override;"; H << nl << _dllMemberExport << "virtual void iceRead(::Ice::InputStream*) override;"; - H << sp << nl << "::std::shared_ptr<::Ice::SlicedData> _iceSlicedData;"; + H << sp << nl << "::std::shared_ptr<::Ice::SlicedData> _slicedData;"; C << sp << nl << "void" << nl << scoped.substr(2) << "::iceWrite(::Ice::OutputStream* iceOs) const"; C << sb; - C << nl << "iceOs->startException(_iceSlicedData);"; + C << nl << "iceOs->startException(_slicedData);"; C << nl << "iceWriteImpl(iceOs);"; C << nl << "iceOs->endException();"; C << eb; @@ -5493,7 +5493,7 @@ Slice::Gen::Cpp11TypesVisitor::visitExceptionEnd(const ExceptionPtr& p) C << sb; C << nl << "iceIs->startException();"; C << nl << "iceReadImpl(iceIs);"; - C << nl << "_iceSlicedData = iceIs->endException(true);"; + C << nl << "_slicedData = iceIs->endException(true);"; C << eb; } } @@ -7165,7 +7165,7 @@ Slice::Gen::Cpp11ValueVisitor::visitClassDefEnd(const ClassDefPtr& p) C << sp; C << nl << "void" << nl << scoped.substr(2) << "::iceWrite(::Ice::OutputStream* iceOs) const"; C << sb; - C << nl << "iceOs->startValue(_iceSlicedData);"; + C << nl << "iceOs->startValue(_slicedData);"; C << nl << "iceWriteImpl(iceOs);"; C << nl << "iceOs->endValue();"; C << eb; @@ -7175,7 +7175,7 @@ Slice::Gen::Cpp11ValueVisitor::visitClassDefEnd(const ClassDefPtr& p) C << sb; C << nl << "iceIs->startValue();"; C << nl << "iceReadImpl(iceIs);"; - C << nl << "_iceSlicedData = iceIs->endValue(true);"; + C << nl << "_slicedData = iceIs->endValue(true);"; C << eb; } @@ -7242,7 +7242,7 @@ Slice::Gen::Cpp11ValueVisitor::visitClassDefEnd(const ClassDefPtr& p) H.inc(); inProtected = true; } - H << sp << nl << "::std::shared_ptr<::Ice::SlicedData> _iceSlicedData;"; + H << sp << nl << "::std::shared_ptr<::Ice::SlicedData> _slicedData;"; } if(generateFriend) |