diff options
Diffstat (limited to 'docs/tutorials/013/work.h')
-rw-r--r-- | docs/tutorials/013/work.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/docs/tutorials/013/work.h b/docs/tutorials/013/work.h index 26e10b96266..0cf60afd1ed 100644 --- a/docs/tutorials/013/work.h +++ b/docs/tutorials/013/work.h @@ -5,12 +5,17 @@ #define WORK_H #include "ace/Log_Msg.h" + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + #include "ace/Synch.h" #include "mld.h" /* Our specilized message queue and thread pool will know how to do "work" on - our Unit_Of_Work baseclass. + our Unit_Of_Work baseclass. */ class Unit_Of_Work { @@ -42,7 +47,7 @@ protected: /* A fairly trivial work derivative that implements an equally trivial state - machine in process() + machine in process() */ class Work : public Unit_Of_Work { |