diff options
author | Steve Huston <shuston@riverace.com> | 2006-01-17 18:07:47 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2006-01-17 18:07:47 +0000 |
commit | 39a4a9371e75afb5908a3975e1dc988e2e33c397 (patch) | |
tree | 4d940b0a759fb1f5e7f36faef3a7a91f82255261 /examples | |
parent | 85f4b3fceb18d6a6cd4126caa93df371106d1fe8 (diff) | |
download | ATCD-39a4a9371e75afb5908a3975e1dc988e2e33c397.tar.gz |
ChangeLogTag:Tue Jan 17 17:38:46 UTC 2006 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/C++NPv2/display_logfile.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/examples/C++NPv2/display_logfile.cpp b/examples/C++NPv2/display_logfile.cpp index cf744aa5398..6a641a6b714 100644 --- a/examples/C++NPv2/display_logfile.cpp +++ b/examples/C++NPv2/display_logfile.cpp @@ -195,13 +195,14 @@ class Logrec_Reader_Module : public ACE_Module<ACE_SYNCH> { public: Logrec_Reader_Module (const ACE_TString &filename) - : ACE_Module<ACE_SYNCH> - (ACE_TEXT ("Logrec Reader"), - &task_, // Initialize writer-side. - 0, // Ignore reader-side. - 0, - ACE_Module<ACE_SYNCH>::M_DELETE_READER), - task_ (filename) {} + : task_ (filename) + { + this->open (ACE_TEXT ("Logrec Reader"), + &task_, // Initialize writer-side. + 0, // Ignore reader-side. + 0, + ACE_Module<ACE_SYNCH>::M_DELETE_READER); + } private: Logrec_Reader task_; }; |