mirror of
https://github.com/boostorg/utility.git
synced 2025-05-09 15:04:00 +00:00
Fixed silly little bug of mine in swap/test/swap_arrays.cpp
[SVN r47626]
This commit is contained in:
parent
6098304ea8
commit
ece6992540
@ -30,7 +30,7 @@ int test_main(int, char*[])
|
||||
|
||||
swap_test_class two_d_array1[firstDimension][secondDimension];
|
||||
swap_test_class two_d_array2[firstDimension][secondDimension];
|
||||
boost::swap(two_d_array1, two_d_array1);
|
||||
boost::swap(two_d_array1, two_d_array2);
|
||||
|
||||
BOOST_CHECK_EQUAL(swap_test_class::swap_count(), firstDimension*secondDimension);
|
||||
BOOST_CHECK_EQUAL(swap_test_class::copy_count(), 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user