diff options
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp index 79d46caf4ea..82703dc71c6 100644 --- a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp +++ b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp @@ -220,10 +220,8 @@ ECMS_Driver::supplier_task (Test_Supplier *supplier, // The typecode name standard, the encode method is not (in // general the CDR interface is not specified). - // @@ TODO once the compiled marshalling approach is in place - // this will read: cdr << info; - cdr.encode (ECM_IDLData::_tc_Info, &info, 0, ACE_TRY_ENV); - ACE_TRY_CHECK; + if (!(cdr << info)) + ACE_THROW (CORBA::MARSHAL ()); // Here we marshall a non-IDL type. cdr << other; |