diff options
author | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2018-11-14 23:23:55 +0000 |
---|---|---|
committer | Stephan T. Lavavej <stl@exchange.microsoft.com> | 2018-11-14 23:23:55 +0000 |
commit | 1b19549b13c0f2cb96afcacab060be2f1f78ea89 (patch) | |
tree | 9adb5a11a5ac12fac75f578e0d2ac31dcf4b06c9 /libcxx/test/std/containers/unord/unord.set/merge.pass.cpp | |
parent | 174072c1d28f79fb78af0b08c58709f5af1ba965 (diff) | |
download | bcm5719-llvm-1b19549b13c0f2cb96afcacab060be2f1f78ea89.tar.gz bcm5719-llvm-1b19549b13c0f2cb96afcacab060be2f1f78ea89.zip |
[libcxx] [test] Fix Clang -Wunused-local-typedef warnings.
C++11's [hash.requirements] never required these typedefs from users.
llvm-svn: 346912
Diffstat (limited to 'libcxx/test/std/containers/unord/unord.set/merge.pass.cpp')
-rw-r--r-- | libcxx/test/std/containers/unord/unord.set/merge.pass.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libcxx/test/std/containers/unord/unord.set/merge.pass.cpp b/libcxx/test/std/containers/unord/unord.set/merge.pass.cpp index 973d2d93ca7..519d7f13854 100644 --- a/libcxx/test/std/containers/unord/unord.set/merge.pass.cpp +++ b/libcxx/test/std/containers/unord/unord.set/merge.pass.cpp @@ -41,9 +41,6 @@ struct throw_hasher throw_hasher(bool& should_throw) : should_throw_(should_throw) {} - typedef size_t result_type; - typedef T argument_type; - size_t operator()(const T& p) const { if (should_throw_) @@ -99,8 +96,6 @@ int main() struct hasher { hasher() = default; - typedef Counter<int> argument_type; - typedef size_t result_type; size_t operator()(const Counter<int>& p) const { return std::hash<Counter<int>>()(p); } }; { |