diff options
Diffstat (limited to 'TAO/tests/Big_Reply/Big_Reply_i.cpp')
-rw-r--r-- | TAO/tests/Big_Reply/Big_Reply_i.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/TAO/tests/Big_Reply/Big_Reply_i.cpp b/TAO/tests/Big_Reply/Big_Reply_i.cpp index 58622b0d0ca..bb48e8deb93 100644 --- a/TAO/tests/Big_Reply/Big_Reply_i.cpp +++ b/TAO/tests/Big_Reply/Big_Reply_i.cpp @@ -14,14 +14,11 @@ Big_Reply_i::~Big_Reply_i (void) } Test::Octet_Seq * -Big_Reply_i::get_big_reply (CORBA::Environment &ACE_TRY_ENV) +Big_Reply_i::get_big_reply (CORBA::Environment & /*ACE_TRY_ENV*/) ACE_THROW_SPEC ((CORBA::SystemException)) { - Test::Octet_Seq_var reply_mesg; - - ACE_NEW_THROW_EX (reply_mesg, - Test::Octet_Seq (this->length_), - CORBA::NO_MEMORY ()); + Test::Octet_Seq_var reply_mesg = + new Test::Octet_Seq (this->length_); reply_mesg->length (this->length_); @@ -34,5 +31,4 @@ Big_Reply_i::shutdown (CORBA::Environment & /*ACE_TRY_ENV*/) ACE_THROW_SPEC ((CORBA::SystemException)) { this->orb_->shutdown (); - ACE_CHECK; } |