summaryrefslogtreecommitdiff
path: root/docs/tutorials/015/Server.h
diff options
context:
space:
mode:
Diffstat (limited to 'docs/tutorials/015/Server.h')
-rw-r--r--docs/tutorials/015/Server.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/tutorials/015/Server.h b/docs/tutorials/015/Server.h
index 0e6b9f9c9cf..6b1eecf05e5 100644
--- a/docs/tutorials/015/Server.h
+++ b/docs/tutorials/015/Server.h
@@ -5,6 +5,11 @@
#define SERVER_H
#include "ace/Acceptor.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "ace/SOCK_Acceptor.h"
#include "Handler.h"
@@ -36,7 +41,7 @@ public:
int run(void);
private:
- // This will accept client connection requests and instantiate
+ // This will accept client connection requests and instantiate
// a Handler object for each new connection.
Acceptor acceptor_;