summaryrefslogtreecommitdiff
path: root/ACE/tests/Array_Map_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Array_Map_Test.cpp')
-rw-r--r--ACE/tests/Array_Map_Test.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/ACE/tests/Array_Map_Test.cpp b/ACE/tests/Array_Map_Test.cpp
index 9d8ad4448ce..725814d7f33 100644
--- a/ACE/tests/Array_Map_Test.cpp
+++ b/ACE/tests/Array_Map_Test.cpp
@@ -296,7 +296,7 @@ index_operator_test ()
const_reverse_iterator const rlast = const_phonetic.rend ();
for (const_reverse_iterator r = const_phonetic.rbegin ();
- !(r == rlast); // Sun C++ Forte doesn't support operator!=
+ (r != rlast);
++r, --letter, --word)
{
if ((*r).first != *letter || (*r).second != *word)
@@ -412,9 +412,6 @@ reference_count_test ()
std::pair<Map::iterator, bool> result;
{
- // Enter a new scope block to assure destruction of temporaries
- // on systems like Solaris / Sun C++.
-
result = map.insert (std::make_pair (ACE_TString (ACE_TEXT ("Two")),
counted));
@@ -424,9 +421,6 @@ reference_count_test ()
ACE_TEST_ASSERT (counted.refcount () == 3);
{
- // Enter a new scope block to assure destruction of temporaries
- // on systems like Solaris / Sun C++.
-
result = map.insert (std::make_pair (ACE_TString (ACE_TEXT ("Three")),
counted));