diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-26 18:32:32 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-07-26 18:32:32 +0000 |
commit | f589fce750a69465231f7267f35d0d2965571dde (patch) | |
tree | 40f43ecf50497512d340f015d4d4da867344a086 /TAO/tao/DynUnion_i.cpp | |
parent | 7aca63cabc7d12d4f0687c39fbe096b38fed9068 (diff) | |
download | ATCD-ami_phase4_end.tar.gz |
This commit was manufactured by cvs2svn to create tagami_phase4_end
'ami_phase4_end'.
Diffstat (limited to 'TAO/tao/DynUnion_i.cpp')
-rw-r--r-- | TAO/tao/DynUnion_i.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/TAO/tao/DynUnion_i.cpp b/TAO/tao/DynUnion_i.cpp index 99b0e42a76b..c241308ca64 100644 --- a/TAO/tao/DynUnion_i.cpp +++ b/TAO/tao/DynUnion_i.cpp @@ -104,18 +104,17 @@ TAO_DynUnion_i::~TAO_DynUnion_i (void) CORBA::Boolean TAO_DynUnion_i::set_as_default (CORBA::Environment& ACE_TRY_ENV) { - if ((CORBA::Long) this->current_index_ - == this->type_->default_index (ACE_TRY_ENV)) + if ((CORBA::Long) this->current_index_ == this->type_->default_index (ACE_TRY_ENV)) return 1; else return 0; } void -TAO_DynUnion_i::set_as_default (CORBA::Boolean /* set_as_default */, - CORBA::Environment &) +TAO_DynUnion_i::set_as_default (CORBA::Boolean set_as_default, + CORBA::Environment&) { - // set_as_default should be treated as read-only and + // Set_as_default should be treated as read-only and // probably will be in a future spec. For now, since // the IDL compiler generated the virtual function, // we override it as a no-op. |