summaryrefslogtreecommitdiff
path: root/TAO/tao/Request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Request.cpp')
-rw-r--r--TAO/tao/Request.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/Request.cpp b/TAO/tao/Request.cpp
index 4a76a26c868..db2567eb69e 100644
--- a/TAO/tao/Request.cpp
+++ b/TAO/tao/Request.cpp
@@ -1,7 +1,7 @@
// $Id$
#include "tao/Request.h"
-
+#include "tao/Sequence_T.h"
#if !defined (TAO_HAS_MINIMUM_CORBA)
#include "tao/Object.h"
@@ -66,7 +66,7 @@ CORBA_Request::CORBA_Request (CORBA::Object_ptr obj,
refcount_ (1)
{
target_ = CORBA::Object::_duplicate (obj);
- opname_ = CORBA::string_dup (op);
+ opname_ = CORBA::string_copy (op);
}
CORBA_Request::CORBA_Request (CORBA::Object_ptr obj,
@@ -79,7 +79,7 @@ CORBA_Request::CORBA_Request (CORBA::Object_ptr obj,
refcount_ (1)
{
target_ = CORBA::Object::_duplicate (obj);
- opname_ = CORBA::string_dup (op);
+ opname_ = CORBA::string_copy (op);
ACE_NEW (args_, CORBA::NVList);
ACE_NEW (result_, CORBA::NamedValue);