summaryrefslogtreecommitdiff
path: root/test/std/containers/NotConstructible.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/std/containers/NotConstructible.h')
-rw-r--r--test/std/containers/NotConstructible.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/std/containers/NotConstructible.h b/test/std/containers/NotConstructible.h
index ac8b98ef99f05..55e6480496ee2 100644
--- a/test/std/containers/NotConstructible.h
+++ b/test/std/containers/NotConstructible.h
@@ -29,8 +29,10 @@ namespace std
template <>
struct hash<NotConstructible>
- : public std::unary_function<NotConstructible, std::size_t>
{
+ typedef NotConstructible argument_type;
+ typedef std::size_t result_type;
+
std::size_t operator()(const NotConstructible&) const {return 0;}
};