diff options
author | Marshall Clow <mclow.lists@gmail.com> | 2015-01-07 22:26:48 +0000 |
---|---|---|
committer | Marshall Clow <mclow.lists@gmail.com> | 2015-01-07 22:26:48 +0000 |
commit | 6855c93ce91cbe8dbef59defdd8a7f2b4f4b9f95 (patch) | |
tree | 5271423444fc7cd4bb221d143943661038fad0ad /libcxx/test/std/utilities/function.objects/unord.hash | |
parent | 7099558499904e0b308f127ac866a54d6b88f78d (diff) | |
download | bcm5719-llvm-6855c93ce91cbe8dbef59defdd8a7f2b4f4b9f95.tar.gz bcm5719-llvm-6855c93ce91cbe8dbef59defdd8a7f2b4f4b9f95.zip |
Missed a typename
llvm-svn: 225408
Diffstat (limited to 'libcxx/test/std/utilities/function.objects/unord.hash')
-rw-r--r-- | libcxx/test/std/utilities/function.objects/unord.hash/enum.pass.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/utilities/function.objects/unord.hash/enum.pass.cpp b/libcxx/test/std/utilities/function.objects/unord.hash/enum.pass.cpp index 4dbd7b0d810..dca59c62b5b 100644 --- a/libcxx/test/std/utilities/function.objects/unord.hash/enum.pass.cpp +++ b/libcxx/test/std/utilities/function.objects/unord.hash/enum.pass.cpp @@ -34,8 +34,8 @@ void test() { typedef std::hash<T> H; - static_assert((std::is_same<H::argument_type, T>::value), "" ); - static_assert((std::is_same<H::result_type, std::size_t>::value), "" ); + static_assert((std::is_same<typename H::argument_type, T>::value), "" ); + static_assert((std::is_same<typename H::result_type, std::size_t>::value), "" ); typedef typename std::underlying_type<T>::type under_type; H h1; |