diff options
Diffstat (limited to 'tests/FlReactor_Test.cpp')
-rw-r--r-- | tests/FlReactor_Test.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/FlReactor_Test.cpp b/tests/FlReactor_Test.cpp index 0b34751da3c..65ae1ed4bdc 100644 --- a/tests/FlReactor_Test.cpp +++ b/tests/FlReactor_Test.cpp @@ -273,3 +273,14 @@ int run_main (int argc, ACE_TCHAR *argv[]) ACE_END_TEST; } +#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) + +template class ACE_Acceptor<Connection_Handler, ACE_SOCK_ACCEPTOR>; +template class ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH>; + +#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) + +#pragma instantiate ACE_Acceptor<Connection_Handler, ACE_SOCK_ACCEPTOR> +#pragma instantiate ACE_Svc_Handler<ACE_SOCK_STREAM, ACE_NULL_SYNCH> + +#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |