diff options
Diffstat (limited to 'docs/tutorials/010/block.h')
-rw-r--r-- | docs/tutorials/010/block.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/tutorials/010/block.h b/docs/tutorials/010/block.h index 662c3c1e536..583886872cb 100644 --- a/docs/tutorials/010/block.h +++ b/docs/tutorials/010/block.h @@ -6,8 +6,12 @@ #include "ace/Message_Block.h" +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + /* - This simple ACE_Message_Block derivative will inform us of it's construction + This simple ACE_Message_Block derivative will inform us of it's construction and destruction. We'll use this to assure ourselves that we don't have any memory leaks. In a real application, of course, this isn't necessary. */ |