diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-10-20 02:34:57 +0000 |
commit | 5c1001ce4f585836e1f83c28d1df89aee42fb743 (patch) | |
tree | 5967e9ca7d44ed1d2823be9746817ebb8e025f5d /ace/Task_T.h | |
parent | 2ae14b2b85ad813a269e8a5529aa76cf984fa8a5 (diff) | |
download | ATCD-5c1001ce4f585836e1f83c28d1df89aee42fb743.tar.gz |
changed include protection from #if !defined to ifndef, and added #pragma once, if possible
Diffstat (limited to 'ace/Task_T.h')
-rw-r--r-- | ace/Task_T.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ace/Task_T.h b/ace/Task_T.h index 1ecbd85fb99..856e47778a5 100644 --- a/ace/Task_T.h +++ b/ace/Task_T.h @@ -18,13 +18,14 @@ #define ACE_TASK_T_H #include "ace/Message_Queue.h" -#include "ace/Synch_T.h" -#include "ace/Task.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) -#pragma once +# pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ +#include "ace/Synch_T.h" +#include "ace/Task.h" + // Forward decls... template <ACE_SYNCH_DECL> class ACE_Module; @@ -44,7 +45,7 @@ public: // = Initialization/termination methods. ACE_Task (ACE_Thread_Manager *thr_mgr = 0, - ACE_Message_Queue<ACE_SYNCH_USE> *mq = 0); + ACE_Message_Queue<ACE_SYNCH_USE> *mq = 0); // Initialize a Task, supplying a thread manager and a message // queue. If the user doesn't supply a ACE_Message_Queue pointer // then we'll allocate one dynamically. Otherwise, we'll use the |