summaryrefslogtreecommitdiff
path: root/examples/Reactor/Misc/pingpong.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Reactor/Misc/pingpong.cpp')
-rw-r--r--examples/Reactor/Misc/pingpong.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/Reactor/Misc/pingpong.cpp b/examples/Reactor/Misc/pingpong.cpp
index 27c0784e160..42c7012c4c9 100644
--- a/examples/Reactor/Misc/pingpong.cpp
+++ b/examples/Reactor/Misc/pingpong.cpp
@@ -64,9 +64,9 @@ private:
};
Ping_Pong::Ping_Pong (char b[], ACE_HANDLE f)
- : handle_ (f),
- buflen_ (ACE_OS::strlen (b) + 1 + (2 * sizeof (int))),
- pid_ (ACE_OS::getpid ())
+ : buflen_ (ACE_OS::strlen (b) + 1 + (2 * sizeof (int))),
+ pid_ (ACE_OS::getpid ()),
+ handle_ (f)
{
*((int *) this->buf_) = (int) this->pid_;
*((int *) (this->buf_ + sizeof (int))) = 0;