Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Smart_Proxies / On_Demand / Smart_Proxy_Impl.cpp
blob689bdf84d5b4ae6bc3ea8a9df666f0cacaa12af5
1 #include "Smart_Proxy_Impl.h"
3 Smart_Test_Proxy::Smart_Test_Proxy (Test_ptr proxy)
4 : TAO_Smart_Proxy_Base (proxy)
8 CORBA::Short
9 Smart_Test_Proxy::method (CORBA::Short boo)
11 ACE_DEBUG ((LM_DEBUG,
12 "Yahoo, I am smart\n"));
14 CORBA::Short retval = 0;
15 try
17 retval = TAO_Test_Smart_Proxy_Base::method (boo);
19 catch (const Test::Oops& reason)
21 reason._tao_print_exception ("User Exception");
22 return -1;
25 return retval;