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 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp index 0255d64c8f4..0fae850dfd5 100644 --- a/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp +++ b/TAO/orbsvcs/tests/EC_Custom_Marshal/ECM_Supplier.cpp @@ -197,12 +197,12 @@ ECMS_Driver::supplier_task (Test_Supplier *supplier, CORBA::ULong n = this->event_size_; ECM_IDLData::Info info; - info.mobile_name = CORBA::string_dup ("test"); + info.mobile_name = CORBA::string_copy ("test"); info.mobile_speed = 1; info.trajectory.length (n); ECM_Data other; - other.description = CORBA::string_dup ("some data"); + other.description = CORBA::string_copy ("some data"); for (CORBA::ULong j = 0; j < n; ++j) { |