summaryrefslogtreecommitdiff
path: root/ACE/examples/APG/Timers/TimerDispatcher.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@users.noreply.github.com>2016-10-31 16:30:31 +0100
committerGitHub <noreply@github.com>2016-10-31 16:30:31 +0100
commit8390b59170b1b66bdda62f2c0bd544fb8baf8b6b (patch)
tree592d4c3e0feb26a13c6285ae208f272d4a660e60 /ACE/examples/APG/Timers/TimerDispatcher.h
parentbd5aaab0e6022781ff8fdb383ea75ae3ecc3b17d (diff)
downloadATCD-revert-176-master.tar.gz
Revert "some (bundled) minor changes (take 2)"revert-176-master
Diffstat (limited to 'ACE/examples/APG/Timers/TimerDispatcher.h')
-rw-r--r--ACE/examples/APG/Timers/TimerDispatcher.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ACE/examples/APG/Timers/TimerDispatcher.h b/ACE/examples/APG/Timers/TimerDispatcher.h
index e587ab6fb05..06ce42a8d8a 100644
--- a/ACE/examples/APG/Timers/TimerDispatcher.h
+++ b/ACE/examples/APG/Timers/TimerDispatcher.h
@@ -2,10 +2,9 @@
#if !defined(TIMER_DISPATCHER_H)
#define TIMER_DISPATCHER_H
-#include "ace/Event.h"
#include "ace/Event_Handler.h"
#include "ace/Singleton.h"
-#include "ace/Synch_Traits.h"
+#include "ace/Synch.h" // needed for ACE_Event
#include "ace/Timer_Queue.h"
// Listing 1 code/ch20
@@ -32,7 +31,7 @@ private:
ACE_Event timer_;
};
-typedef ACE_Singleton<Timer_Dispatcher, ACE_SYNCH_NULL_MUTEX> Timer;
+typedef ACE_Singleton<Timer_Dispatcher, ACE_Null_Mutex> Timer;
// Listing 1
#endif /*TIMER_DISPATCHER_H*/