summaryrefslogtreecommitdiff
path: root/TAO/tao/Tagged_Components.i
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2003-02-12 21:11:25 +0000
committerbala <balanatarajan@users.noreply.github.com>2003-02-12 21:11:25 +0000
commit3ff764a1c05be6d1ef157b4ea81b4bafea4dceee (patch)
tree62ef2d34582fef31c169010730e1b46c10b2ef2d /TAO/tao/Tagged_Components.i
parent9ed1ed33101b03ce55240ae2867e416ca0a4d2b2 (diff)
downloadATCD-post_132_phase_0.tar.gz
ChangeLogTag: Wed Feb 12 15:40:46 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>post_132_phase_0
Diffstat (limited to 'TAO/tao/Tagged_Components.i')
-rw-r--r--TAO/tao/Tagged_Components.i15
1 files changed, 10 insertions, 5 deletions
diff --git a/TAO/tao/Tagged_Components.i b/TAO/tao/Tagged_Components.i
index d67dcc6e07b..65114bfccc0 100644
--- a/TAO/tao/Tagged_Components.i
+++ b/TAO/tao/Tagged_Components.i
@@ -4,9 +4,11 @@
ACE_INLINE
TAO_Tagged_Components::TAO_Tagged_Components (void)
- : orb_type_ (0),
- orb_type_set_ (0),
- code_sets_set_ (0)
+ : orb_type_ (0)
+ , components_ (0)
+ , orb_type_set_ (0)
+ , code_sets_set_ (0)
+
{
}
@@ -60,8 +62,11 @@ TAO_Tagged_Components::unique_tag (IOP::ComponentId tag) const
|| tag == IOP::TAG_DCE_NO_PIPES);
}
-ACE_INLINE IOP::MultipleComponentProfile&
+ACE_INLINE IOP::MultipleComponentProfile *
TAO_Tagged_Components::components (void)
{
- return this->components_;
+ if (this->components_ != 0)
+ return this->components_;
+
+ return 0;
}