diff options
author | Joe George <joe@zeroc.com> | 2021-04-07 12:04:05 -0400 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2021-04-07 12:05:55 -0400 |
commit | dc1a4cfc0c977cfba3585321c387a9d79b6c3ab5 (patch) | |
tree | 27f548d2989000b42f035b96d79d15cadaece477 | |
parent | Bump yargs-parser from 5.0.0 to 5.0.1 in /js (#1265) (diff) | |
download | ice-dc1a4cfc0c977cfba3585321c387a9d79b6c3ab5.tar.bz2 ice-dc1a4cfc0c977cfba3585321c387a9d79b6c3ab5.tar.xz ice-dc1a4cfc0c977cfba3585321c387a9d79b6c3ab5.zip |
Fix build failure of C++98 using C++11 compiler
Additional fix for #1266
-rw-r--r-- | cpp/src/slice2cpp/Gen.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp index ede9fd97419..0b6c01ac6e7 100644 --- a/cpp/src/slice2cpp/Gen.cpp +++ b/cpp/src/slice2cpp/Gen.cpp @@ -1388,7 +1388,6 @@ Slice::Gen::TypesVisitor::visitExceptionStart(const ExceptionPtr& p) H << sp << nl << "#ifdef ICE_CPP11_COMPILER"; H.restoreIndent(); H << nl << name << "(const " << name << "&) = default;"; - H << nl << name << "& operator=(const " << name << "&) = default;"; H << nl << "virtual ~" << name << "();"; H.zeroIndent(); |