diff options
author | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-17 20:44:33 +0000 |
---|---|---|
committer | nw1 <nw1@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-10-17 20:44:33 +0000 |
commit | 6fbb229e8455a07d27d6fa15cae5aeda5efcc589 (patch) | |
tree | b01f34c5ef07052a1b71927d4cdb73df40c622e7 /TAO | |
parent | 0178f885fa99ac99deb72ad81505cfd3c212600a (diff) | |
download | ATCD-6fbb229e8455a07d27d6fa15cae5aeda5efcc589.tar.gz |
Added template instantiation supression directive for Win32.
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/tao/connect.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/TAO/tao/connect.h b/TAO/tao/connect.h index 216a53d2cac..cadbd669488 100644 --- a/TAO/tao/connect.h +++ b/TAO/tao/connect.h @@ -131,4 +131,13 @@ private: typedef ACE_Strategy_Acceptor<TAO_OA_Connection_Handler, ACE_SOCK_ACCEPTOR> TAO_ACCEPTOR; +// Declare that these two functions should be specialized. + +#if defined (ACE_WIN32) +extern template size_t +ACE_Hash_Addr<ACE_INET_Addr, TAO_Client_Connection_Handler>::hash_i (const ACE_INET_Addr &addr) const; +extern template int +ACE_Hash_Addr<ACE_INET_Addr, TAO_Client_Connection_Handler>::compare_i (const ACE_INET_Addr &a1, + const ACE_INET_Addr &a2) const; +#endif /* ACE_WIN32 */ #endif /* TAO_CONNECT_H */ |