Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / POA / Explicit_Activation / Alt_Resources / Resource_Factory.cpp
blobc80c4284949b09df356a185e8c4006cf1ba80cb5
1 #include "Resource_Factory.h"
2 #include "ace/WFMO_Reactor.h"
4 ACE_Reactor_Impl *
5 My_Resource_Factory::allocate_reactor_impl () const
7 errno = 0;
8 ACE_DEBUG ((LM_DEBUG,
9 "Using alternate reactor\n"));
11 return new ACE_WFMO_Reactor;
14 ACE_FACTORY_DEFINE (Alt_Resource_Factory, My_Resource_Factory)