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
This commit is contained in:
François Dumont 2013-11-16 20:17:50 +00:00
parent 25e6253e21
commit 6c21c6d0f5
2 changed files with 16 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2013-11-16 François Dumont <fdumont@gcc.gnu.org>
* testsuite/23_containers/unordered_set/55043.cc (equal): Add
missing & on rhs parameter.
2013-11-15 Jonathan Wakely <jwakely.gcc@gmail.com>
* include/bits/stl_bvector.h (vector<bool>::emplace_back()): LWG 2187:

View File

@ -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>