summaryrefslogtreecommitdiff
path: root/docs/tutorials/010/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/010/task.h')
-rw-r--r--docs/tutorials/010/task.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/tutorials/010/task.h b/docs/tutorials/010/task.h
index 9f242c124dd..2aecb429c03 100644
--- a/docs/tutorials/010/task.h
+++ b/docs/tutorials/010/task.h
@@ -6,6 +6,10 @@
#include "ace/Task.h"
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
/*
Like the thread-pool server tutorial, we'll derive from ACE_Task<>.
Our goal here is to show off the ACE_Message_Queue and the best way
@@ -17,7 +21,7 @@ class Task : public ACE_Task < ACE_MT_SYNCH >
public:
typedef ACE_Task < ACE_MT_SYNCH > inherited;
-
+
/*
The constructor/destructor are simple but take care of some
necessary housekeeping.