summaryrefslogtreecommitdiff
path: root/examples/Reactor/Multicast/Log_Wrapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Reactor/Multicast/Log_Wrapper.cpp')
-rw-r--r--examples/Reactor/Multicast/Log_Wrapper.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/Reactor/Multicast/Log_Wrapper.cpp b/examples/Reactor/Multicast/Log_Wrapper.cpp
index 05ea986dad0..f660934de00 100644
--- a/examples/Reactor/Multicast/Log_Wrapper.cpp
+++ b/examples/Reactor/Multicast/Log_Wrapper.cpp
@@ -69,3 +69,9 @@ Log_Wrapper::log_message (Log_Priority type, char *message)
// success.
return 0;
}
+
+#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
+template class ACE_SOCK_Dgram_Mcast_Ex<ACE_Null_Mutex>;
+#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
+#pragma instantiate ACE_SOCK_Dgram_Mcast_Ex<ACE_Null_Mutex>
+#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */