summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Network.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/Network.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/Network.cpp')
-rwxr-xr-xcpp/src/Ice/Network.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp
index 317e1e3bbc4..e0788a5d72a 100755
--- a/cpp/src/Ice/Network.cpp
+++ b/cpp/src/Ice/Network.cpp
@@ -185,7 +185,7 @@ setTcpLoopbackFastPath(SOCKET fd)
WSAIoctl(fd, SIO_LOOPBACK_FAST_PATH, &OptionValue, sizeof(OptionValue), NULL, 0, &NumberOfBytesReturned, 0, 0);
if(status == SOCKET_ERROR)
{
- // On platforms that do not support fast path (< Windows 8), WSAEONOTSUPP is expected.
+ // On platforms that do not support fast path (< Windows 8), WSAEONOTSUPP is expected.
DWORD LastError = ::GetLastError();
if(LastError != WSAEOPNOTSUPP)
{
@@ -777,6 +777,16 @@ getAddressStorageSize(const Address& addr)
}
+ReadyCallback::~ReadyCallback()
+{
+ // Out of line to avoid weak vtable
+}
+
+NativeInfo::~NativeInfo()
+{
+ // Out of line to avoid weak vtable
+}
+
void
NativeInfo::setReadyCallback(const ReadyCallbackPtr& callback)
{