Fix recent build errors

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@292689 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2017-01-21 00:57:29 +00:00
parent 952eaecfc6
commit 17b6e14cdc
3 changed files with 8 additions and 3 deletions

View File

@@ -163,7 +163,7 @@ void test_hash_enabled(InputKey const& key) {
static_assert(can_hash<Hash(ConvertibleTo<Key> &&)>(), "");
static_assert(can_hash<Hash(ConvertibleTo<Key> const&&)>(), "");
const Hash h;
const Hash h{};
assert(h(key) == h(key));
}