Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / apps / JAWS / server / JAWS_Pipeline_Handler.cpp
blobbd10c10f90a85540da0627e8ed5de508f29964c9
1 #ifndef JAWS_PIPELINE_HANDLER_CPP
2 #define JAWS_PIPELINE_HANDLER_CPP
4 #include "JAWS_Pipeline_Handler.h"
6 template <class TYPE>
7 JAWS_Pipeline_Handler<TYPE>::JAWS_Pipeline_Handler ()
11 template <class TYPE> int
12 JAWS_Pipeline_Handler<TYPE>::put (ACE_Message_Block *mb, ACE_Time_Value *tv)
14 TYPE *data = dynamic_cast<TYPE *> (mb->data_block ());
16 int status = this->handle_input (data, tv);
18 return (status != -1) ? this->put_next (mb, tv) : -1;
21 #endif /* !defined (JAWS_PIPELINE_HANDLER_CPP) */