diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-10-24 20:51:28 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2000-10-24 20:51:28 +0000 |
commit | 79eb2c8980f0567ee008558d5f7b4c590c93c261 (patch) | |
tree | 0ba2d42e55756ac2723984787db8a17eb8c87ba5 /TAO/tao/PolicyFactory_Registry.cpp | |
parent | e982dcd43dadcae72cdf5563b275b170cba9bb1f (diff) | |
download | ATCD-79eb2c8980f0567ee008558d5f7b4c590c93c261.tar.gz |
Minor code clean up.
Diffstat (limited to 'TAO/tao/PolicyFactory_Registry.cpp')
-rw-r--r-- | TAO/tao/PolicyFactory_Registry.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tao/PolicyFactory_Registry.cpp b/TAO/tao/PolicyFactory_Registry.cpp index 573a609e66f..87bce0e65db 100644 --- a/TAO/tao/PolicyFactory_Registry.cpp +++ b/TAO/tao/PolicyFactory_Registry.cpp @@ -16,10 +16,9 @@ TAO_PolicyFactory_Registry::TAO_PolicyFactory_Registry (TAO_ORB_Core *orb_core) TAO_PolicyFactory_Registry::~TAO_PolicyFactory_Registry (void) { - TABLE::ITERATOR begin = this->factories_.begin (); - TABLE::ITERATOR end = this->factories_.end (); + TABLE::ITERATOR end = this->factories_.end (); - for (TABLE::ITERATOR i = begin; i != end; ++i) + for (TABLE::ITERATOR i = this->factories_.begin (); i != end; ++i) CORBA::release ((*i).int_id_); } |