diff options
Diffstat (limited to 'ACE/examples/C++NPv2/TP_Logging_Server.h')
-rw-r--r-- | ACE/examples/C++NPv2/TP_Logging_Server.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ACE/examples/C++NPv2/TP_Logging_Server.h b/ACE/examples/C++NPv2/TP_Logging_Server.h index a4b1ac67f3a..0f0ca357b76 100644 --- a/ACE/examples/C++NPv2/TP_Logging_Server.h +++ b/ACE/examples/C++NPv2/TP_Logging_Server.h @@ -7,9 +7,8 @@ #include "ace/Auto_Ptr.h" #include "ace/Singleton.h" -#include "ace/Synch_Traits.h" +#include "ace/Synch.h" #include "ace/Task.h" - #include "Logging_Acceptor.h" #include "Logging_Event_Handler.h" #include "Reactor_Logging_Server_T.h" @@ -30,7 +29,7 @@ public: virtual int svc (void); }; -typedef ACE_Unmanaged_Singleton<TP_Logging_Task, ACE_SYNCH_NULL_MUTEX> +typedef ACE_Unmanaged_Singleton<TP_Logging_Task, ACE_Null_Mutex> TP_LOGGING_TASK; /*******************************************************/ |