diff options
author | Steve Huston <shuston@riverace.com> | 2005-04-18 19:23:14 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2005-04-18 19:23:14 +0000 |
commit | 44af5c3ae931c41fbfeafa9d9d3d3b3bd83d6cbe (patch) | |
tree | 5689bfd4bbc6cee72bf863df67137af65379eb62 /examples | |
parent | 1ecfd0ea7d6d19f7a50b95f10d164a97ffe1ee19 (diff) | |
download | ATCD-44af5c3ae931c41fbfeafa9d9d3d3b3bd83d6cbe.tar.gz |
ChangeLogTag:Mon Apr 18 11:38:29 2005 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/Reactor/WFMO_Reactor/Window_Messages.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/Reactor/WFMO_Reactor/Window_Messages.cpp b/examples/Reactor/WFMO_Reactor/Window_Messages.cpp index fce6d431cdd..9ae5d7fdf78 100644 --- a/examples/Reactor/WFMO_Reactor/Window_Messages.cpp +++ b/examples/Reactor/WFMO_Reactor/Window_Messages.cpp @@ -66,11 +66,9 @@ int ACE_TMAIN (int, ACE_TCHAR*[]) { // Manage memory automagically. - // Note that ordering here is important. ACE_Reactor_Impl *impl = new ACE_Msg_WFMO_Reactor; - auto_ptr<ACE_Reactor> reactor (new ACE_Reactor (impl)); + auto_ptr<ACE_Reactor> reactor (new ACE_Reactor (impl, 1)); ACE_Reactor::instance (reactor.get ()); - auto_ptr<ACE_Reactor_Impl> delete_impl (impl); Event_Handler event_handler; global_event_handler = &event_handler; |