summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2016-07-14 14:43:50 -0400
committerJoe George <joe@zeroc.com>2016-07-14 14:45:10 -0400
commit581fe95eb2c0b84ca968a526de88735431e00ec5 (patch)
tree8e5ddd7e07a674aeabdc4f8afc13207efda02fc8 /cpp/src/slice2cpp
parentImprove Node.js test not supported message (diff)
downloadice-581fe95eb2c0b84ca968a526de88735431e00ec5.tar.bz2
ice-581fe95eb2c0b84ca968a526de88735431e00ec5.tar.xz
ice-581fe95eb2c0b84ca968a526de88735431e00ec5.zip
ICE-7088 - Fix exception default constructor
This bug is no longer present in the latest version of Xcode
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/Gen.cpp16
1 files changed, 1 insertions, 15 deletions
diff --git a/cpp/src/slice2cpp/Gen.cpp b/cpp/src/slice2cpp/Gen.cpp
index da3b0de0e21..4ee6807b16b 100644
--- a/cpp/src/slice2cpp/Gen.cpp
+++ b/cpp/src/slice2cpp/Gen.cpp
@@ -5721,21 +5721,7 @@ Slice::Gen::Cpp11TypesVisitor::visitExceptionStart(const ExceptionPtr& p)
}
else
{
- H.zeroIndent();
- //
- // COMPILERFIX: Apple LLVM version 7.3.0 crash when using"
- // a '= default' constructor in classes derived from std::exception
- //
- H << sp << nl << "#if defined(__APPLE___) && defined(__clang__)";
- H.restoreIndent();
- H << nl << name << "() {}";
- H.zeroIndent();
- H << nl << "#else";
- H.restoreIndent();
- H << nl << name << "() = default;";
- H.zeroIndent();
- H << nl << "#endif";
- H.restoreIndent();
+ H << sp << nl << name << "() = default;";
}
if(!allDataMembers.empty())