diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-11 18:39:28 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2000-07-11 18:39:28 +0000 |
commit | b3f9632761540e4b66a9d7073b93590e5bf51e44 (patch) | |
tree | a52be054cdc8b83ff52106dce2a44f1481f7b636 | |
parent | 1ea3638c668aaa6820653371b0297d45f078390a (diff) | |
download | ATCD-b3f9632761540e4b66a9d7073b93590e5bf51e44.tar.gz |
compute_default_index modified.
-rw-r--r-- | TAO/TAO_IDL/be/be_union.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/be/be_union.cpp b/TAO/TAO_IDL/be/be_union.cpp index 4e948cc8d17..ef9852500fa 100644 --- a/TAO/TAO_IDL/be/be_union.cpp +++ b/TAO/TAO_IDL/be/be_union.cpp @@ -86,8 +86,11 @@ be_union::compute_default_index (void) if (bub->label (j)->label_kind () == AST_UnionLabel::UL_default) this->default_index_ = i; // zero based indexing - i++; } + // TAO's Typecode class keeps only a member count (not + // a label count) so this increment has been moved + // out of the inner loop. + i++; } si->next (); } // end of while |