summaryrefslogtreecommitdiff
path: root/TAO/tao/Any.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-09 16:00:26 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2003-05-09 16:00:26 +0000
commit5663efbc3983a777b56c9743bbbfcaa968345e6a (patch)
tree8810b0d2ed00098e946bb2d799a6e159e70db5f7 /TAO/tao/Any.cpp
parent39f75d7343de6f41752315d9487e1bc6d6a507fe (diff)
downloadATCD-5663efbc3983a777b56c9743bbbfcaa968345e6a.tar.gz
ChangeLogTag: Fri May 9 10:42:37 2003 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Any.cpp')
-rw-r--r--TAO/tao/Any.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/TAO/tao/Any.cpp b/TAO/tao/Any.cpp
index 8fb3017e08e..b1bc9961bce 100644
--- a/TAO/tao/Any.cpp
+++ b/TAO/tao/Any.cpp
@@ -548,6 +548,16 @@ TAO::Unknown_IDL_Type::assign_translator (CORBA::TCKind kind,
// ****************************************************************
+CORBA::Any_var::Any_var (const CORBA::Any_var &r)
+ : ptr_ (0)
+{
+ if (r.ptr_ != 0)
+ {
+ ACE_NEW (this->ptr_,
+ CORBA::Any (*r.ptr_));
+ }
+}
+
CORBA::Any_var &
CORBA::Any_var::operator= (CORBA::Any *p)
{