summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/SlicedData.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2016-06-27 16:29:41 -0400
committerBernard Normier <bernard@zeroc.com>2016-06-27 16:29:41 -0400
commitfff68e2470492ef3c7b80654f4c5977066d89323 (patch)
treec3147db6d0b745428ad53a717b35b828759ee8bc /cpp/src/Ice/SlicedData.cpp
parentRefactored SSL and iAP transports, support for running SSL on top (diff)
downloadice-fff68e2470492ef3c7b80654f4c5977066d89323.tar.bz2
ice-fff68e2470492ef3c7b80654f4c5977066d89323.tar.xz
ice-fff68e2470492ef3c7b80654f4c5977066d89323.zip
Exported classes no longer have weak vtables with clang
Diffstat (limited to 'cpp/src/Ice/SlicedData.cpp')
-rw-r--r--cpp/src/Ice/SlicedData.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/SlicedData.cpp b/cpp/src/Ice/SlicedData.cpp
index a746be2803f..ca2b28e5cef 100644
--- a/cpp/src/Ice/SlicedData.cpp
+++ b/cpp/src/Ice/SlicedData.cpp
@@ -18,6 +18,11 @@ using namespace Ice;
IceUtil::Shared* Ice::upCast(SliceInfo* p) { return p; }
IceUtil::Shared* Ice::upCast(SlicedData* p) { return p; }
IceUtil::Shared* Ice::upCast(UnknownSlicedValue* p) { return p; }
+
+Ice::SlicedData::~SlicedData()
+{
+ // Out of line to avoid weak vtable
+}
#endif
Ice::SlicedData::SlicedData(const SliceInfoSeq& seq) :