summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/FactoryTable.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/FactoryTable.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/FactoryTable.cpp')
-rw-r--r--cpp/src/Ice/FactoryTable.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/Ice/FactoryTable.cpp b/cpp/src/Ice/FactoryTable.cpp
index 2842670fa90..78b8a1c8b2b 100644
--- a/cpp/src/Ice/FactoryTable.cpp
+++ b/cpp/src/Ice/FactoryTable.cpp
@@ -12,6 +12,12 @@
using namespace std;
+
+Ice::UserExceptionFactory::~UserExceptionFactory()
+{
+ // Out of line to avoid weak vtable
+}
+
//
// Add a factory to the exception factory table.
// If the factory is present already, increment its reference count.