From 5c1001ce4f585836e1f83c28d1df89aee42fb743 Mon Sep 17 00:00:00 2001 From: levine Date: Tue, 20 Oct 1998 02:34:57 +0000 Subject: changed include protection from #if !defined to ifndef, and added #pragma once, if possible --- ace/Task_T.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ace/Task_T.h') 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 class ACE_Module; @@ -44,7 +45,7 @@ public: // = Initialization/termination methods. ACE_Task (ACE_Thread_Manager *thr_mgr = 0, - ACE_Message_Queue *mq = 0); + ACE_Message_Queue *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 -- cgit v1.2.1