summaryrefslogtreecommitdiff
path: root/TAO/tao/Context.i
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-06 05:31:12 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-06-06 05:31:12 +0000
commit04083db794bd12b187bfda4dfcaa009256fd823a (patch)
tree1ffe7ee6c6ad40b2c91c430489d3de24b2a4bbf8 /TAO/tao/Context.i
parent083a2168714bdbb769436248370f6f9b607cc17b (diff)
downloadATCD-04083db794bd12b187bfda4dfcaa009256fd823a.tar.gz
.
Diffstat (limited to 'TAO/tao/Context.i')
-rw-r--r--TAO/tao/Context.i8
1 files changed, 6 insertions, 2 deletions
diff --git a/TAO/tao/Context.i b/TAO/tao/Context.i
index 3182747ac1d..dd2febd271a 100644
--- a/TAO/tao/Context.i
+++ b/TAO/tao/Context.i
@@ -4,6 +4,7 @@
// These should never be non-NULL, but the method
// is required of pseudo objects.
+
ACE_INLINE CORBA_Context*
CORBA_Context::_duplicate (CORBA_Context* x)
{
@@ -204,8 +205,10 @@ CORBA_ContextList::_nil (void)
// Inline operations for class CORBA_ContextList_var
// *************************************************************
+// default constructor
+
ACE_INLINE
-CORBA_ContextList_var::CORBA_ContextList_var (void) // default constructor
+CORBA_ContextList_var::CORBA_ContextList_var (void)
: ptr_ (CORBA_ContextList::_nil ())
{}
@@ -220,8 +223,9 @@ CORBA_ContextList_var::ptr (void) const
return this->ptr_;
}
+// copy constructor
ACE_INLINE
-CORBA_ContextList_var::CORBA_ContextList_var (const CORBA_ContextList_var &p) // copy constructor
+CORBA_ContextList_var::CORBA_ContextList_var (const CORBA_ContextList_var &p)
: ptr_ (p.ptr_->_duplicate ())
{}