summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ProtocolInstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ProtocolInstance.cpp')
-rw-r--r--cpp/src/Ice/ProtocolInstance.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/ProtocolInstance.cpp b/cpp/src/Ice/ProtocolInstance.cpp
index 406acbd300f..ff34eb018ad 100644
--- a/cpp/src/Ice/ProtocolInstance.cpp
+++ b/cpp/src/Ice/ProtocolInstance.cpp
@@ -20,6 +20,11 @@ using namespace IceInternal;
IceUtil::Shared* IceInternal::upCast(ProtocolInstance* p) { return p; }
+IceInternal::ProtocolInstance::~ProtocolInstance()
+{
+ // Out of line to avoid weak vtable
+}
+
IceInternal::ProtocolInstance::ProtocolInstance(const CommunicatorPtr& com, Short type, const string& protocol,
bool secure) :
_instance(getInstance(com)),