diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2013-11-16 20:17:50 +0000 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2013-11-16 20:17:50 +0000 |
commit | 6c21c6d0f5334a1915944f2e9f395b28fa0373fb (patch) | |
tree | b05eac7022c149f2a5ce0dd3baf50cee0b171b0f /libstdc++-v3/testsuite | |
parent | 25e6253e21b0ffac7b3f734801c617a926302d21 (diff) | |
download | gcc-6c21c6d0f5334a1915944f2e9f395b28fa0373fb.zip gcc-6c21c6d0f5334a1915944f2e9f395b28fa0373fb.tar.gz gcc-6c21c6d0f5334a1915944f2e9f395b28fa0373fb.tar.bz2 |
55043.cc (equal): Add missing & on rhs parameter.
2013-11-16 François Dumont <fdumont@gcc.gnu.org>
* testsuite/23_containers/unordered_set/55043.cc (equal): Add
missing & on rhs parameter.
From-SVN: r204906
Diffstat (limited to 'libstdc++-v3/testsuite')
-rw-r--r-- | libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc b/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc index 3a02226..2141263 100644 --- a/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc +++ b/libstdc++-v3/testsuite/23_containers/unordered_set/55043.cc @@ -29,11 +29,18 @@ struct MoveOnly MoveOnly(MoveOnly&&) = default; }; -struct equal { - bool operator()(const MoveOnly&, const MoveOnly) const { return true; } +struct equal +{ + bool + operator()(const MoveOnly&, const MoveOnly&) const + { return true; } }; -struct hash { - std::size_t operator()(const MoveOnly&) const { return 0; } + +struct hash +{ + std::size_t + operator()(const MoveOnly&) const + { return 0; } }; template<typename Alloc> |