summaryrefslogtreecommitdiff
path: root/docs/tutorials/015/Handler.h
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/015/Handler.h')
-rw-r--r--docs/tutorials/015/Handler.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/tutorials/015/Handler.h b/docs/tutorials/015/Handler.h
index 7e3123f7cf2..73aa2573b0c 100644
--- a/docs/tutorials/015/Handler.h
+++ b/docs/tutorials/015/Handler.h
@@ -5,6 +5,11 @@
#define HANDLER_H
#include "ace/Svc_Handler.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/SOCK_Stream.h"
#include "Protocol_Stream.h"
@@ -33,7 +38,7 @@ public:
// differences between destroy() and close() so don't try to
// use either for all cases.
int close (u_long);
-
+
protected:
// Respond to peer() activity.