diff options
Diffstat (limited to 'test/support/MoveOnly.h')
-rw-r--r-- | test/support/MoveOnly.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/support/MoveOnly.h b/test/support/MoveOnly.h index a3e9cca89ee50..0ffb4ffe3b2fe 100644 --- a/test/support/MoveOnly.h +++ b/test/support/MoveOnly.h @@ -41,8 +41,9 @@ namespace std { template <> struct hash<MoveOnly> - : public std::unary_function<MoveOnly, std::size_t> { + typedef MoveOnly argument_type; + typedef size_t result_type; std::size_t operator()(const MoveOnly& x) const {return x.get();} }; |