diff options
Diffstat (limited to 'test/std/containers/associative/map/compare.pass.cpp')
-rw-r--r-- | test/std/containers/associative/map/compare.pass.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/std/containers/associative/map/compare.pass.cpp b/test/std/containers/associative/map/compare.pass.cpp index 26ac7af7d908d..9d1c13d7b8e63 100644 --- a/test/std/containers/associative/map/compare.pass.cpp +++ b/test/std/containers/associative/map/compare.pass.cpp @@ -44,7 +44,7 @@ int main() MapT map; IterBool result = map.insert(std::make_pair(Key(0), 42)); assert(result.second); - assert(result.first->second = 42); + assert(result.first->second == 42); IterBool result2 = map.insert(std::make_pair(Key(0), 43)); assert(!result2.second); assert(map[Key(0)] == 42); |