diff options
author | Erik Sohns <erik.sohns@posteo.de> | 2023-04-05 17:37:54 +0200 |
---|---|---|
committer | Erik Sohns <erik.sohns@posteo.de> | 2023-04-05 17:37:54 +0200 |
commit | 761e24b54d7fda41ed58a6e2f41ba905e43bf3d9 (patch) | |
tree | 69171a8ba215e125cf273ab6bbe4641313df6e6a /ACE/tests/Array_Map_Test.cpp | |
parent | 3e44fb91cf724aeb48b38169482a4878de316afc (diff) | |
parent | 9e18d338ec598e1a8da6d32a0fba5a20c76978f7 (diff) | |
download | ATCD-761e24b54d7fda41ed58a6e2f41ba905e43bf3d9.tar.gz |
Merge branch 'message_queue_ex_get_queue' of https://github.com/esohns/ACE_TAO into message_queue_ex_get_queue
Diffstat (limited to 'ACE/tests/Array_Map_Test.cpp')
-rw-r--r-- | ACE/tests/Array_Map_Test.cpp | 8 |
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)); |