diff options
Diffstat (limited to 'ace/Asynch_Connector.cpp')
-rw-r--r-- | ace/Asynch_Connector.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/ace/Asynch_Connector.cpp b/ace/Asynch_Connector.cpp index 1fbbcc512e7..65b23f9a60c 100644 --- a/ace/Asynch_Connector.cpp +++ b/ace/Asynch_Connector.cpp @@ -1,8 +1,7 @@ -/* -*- C++ -*- */ // $Id$ -#ifndef ACE_ASYNCH_CONNECTOR_C -#define ACE_ASYNCH_CONNECTOR_C +#ifndef ACE_ASYNCH_CONNECTOR_CPP +#define ACE_ASYNCH_CONNECTOR_CPP #include "ace/Asynch_Connector.h" @@ -10,8 +9,6 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -ACE_RCSID(ace, Asynch_Connector, "$Id$") - #if (defined (ACE_WIN32) || defined (ACE_HAS_AIO_CALLS)) && !defined(ACE_HAS_WINCE) // This only works on platforms that support async I/O. @@ -22,6 +19,8 @@ ACE_RCSID(ace, Asynch_Connector, "$Id$") #include "ace/Message_Block.h" #include "ace/INET_Addr.h" +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + template <class HANDLER> ACE_Asynch_Connector<HANDLER>::ACE_Asynch_Connector (void) : pass_addresses_ (0), @@ -291,5 +290,7 @@ ACE_Asynch_Connector<HANDLER>::validate_new_connection (int new_value) this->validate_new_connection_ = new_value; } +ACE_END_VERSIONED_NAMESPACE_DECL + #endif /* ACE_WIN32 || ACE_HAS_AIO_CALLS */ -#endif /* ACE_ASYNCH_CONNECTOR_C */ +#endif /* ACE_ASYNCH_CONNECTOR_CPP */ |