summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/PortableGroup
diff options
context:
space:
mode:
authorPhil Mesnier <mesnier_p@ociweb.com>2013-11-25 22:06:52 +0000
committerPhil Mesnier <mesnier_p@ociweb.com>2013-11-25 22:06:52 +0000
commit6398587106891d5b4029b40f4742aab4e2be7cf7 (patch)
tree53fb5613105aa5e120500f2686747d3296945815 /TAO/orbsvcs/orbsvcs/PortableGroup
parentaa16aec7c88f2468eb5aafac16a0d5742c261fe0 (diff)
downloadATCD-6398587106891d5b4029b40f4742aab4e2be7cf7.tar.gz
Mon Nov 25 21:05:04 UTC 2013 Phil Mesnier <mesnier_p@ociweb.com>
* orbsvcs/orbsvcs/PortableGroup/Fragments_Cleanup_Strategy.cpp: Fix scoreboard warnings for some Windows compilers.
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/PortableGroup')
-rw-r--r--TAO/orbsvcs/orbsvcs/PortableGroup/Fragments_Cleanup_Strategy.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/Fragments_Cleanup_Strategy.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/Fragments_Cleanup_Strategy.cpp
index f23cf76a422..10947ea7ffb 100644
--- a/TAO/orbsvcs/orbsvcs/PortableGroup/Fragments_Cleanup_Strategy.cpp
+++ b/TAO/orbsvcs/orbsvcs/PortableGroup/Fragments_Cleanup_Strategy.cpp
@@ -172,8 +172,9 @@ namespace TAO_PG
// First we need to calculate the size of packets. Since we anyway run
// this loop we can also cleanup broken packets.
CORBA::ULong size = 0;
- for (HASH_MAP_ITER iter = packets.begin ();
- iter != packets.end ();)
+ HASH_MAP_ITER iter = packets.begin ();
+
+ while (iter != packets.end ())
{
// Move forward iter because what it was pointing to could be
// unbound at the end of the loop leaving the iterator pointing
@@ -206,7 +207,7 @@ namespace TAO_PG
ACE_NEW (sorted_set, HASH_MAP_ENTRY*[current_size]);
ACE_Auto_Array_Ptr<HASH_MAP_ENTRY*> owner (sorted_set);
- HASH_MAP_ITER iter = packets.begin ();
+ iter = packets.begin ();
for (int i = 0; i < current_size; ++i)
{