diff options
Diffstat (limited to 'TAO/tao/MProfile.cpp')
-rw-r--r-- | TAO/tao/MProfile.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/TAO/tao/MProfile.cpp b/TAO/tao/MProfile.cpp index 5f7f5c73d97..40e3a2b2ddd 100644 --- a/TAO/tao/MProfile.cpp +++ b/TAO/tao/MProfile.cpp @@ -134,8 +134,7 @@ TAO_MProfile::set (const TAO_MProfile &mprofile) // this->forward_from_ = 0; // Now reference all profiles. - - for (TAO_PHandle h = 0; h < this->size_; ++h) + for (TAO_PHandle h = 0; h < this->last_; ++h) { this->pfiles_[h] = mprofile.pfiles_[h]; if (this->pfiles_[h] != 0) |