From 16715b9a889f7be53a45150366c16048a1fd0219 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Thu, 30 Jun 2016 04:28:12 +0000 Subject: [PATCH] Fix unary_function inheritance assumption. Patch from STL@microsoft.com git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@274205 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../std/containers/sequences/vector.bool/vector_bool.pass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp b/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp index d48efb973..4f82792fa 100644 --- a/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp +++ b/test/std/containers/sequences/vector.bool/vector_bool.pass.cpp @@ -41,8 +41,8 @@ int main() { typedef std::vector> T; typedef std::hash H; - static_assert((std::is_base_of, - H>::value), ""); + static_assert((std::is_same::value), "" ); + static_assert((std::is_same::value), "" ); bool ba[] = {true, false, true, true, false}; T vb(std::begin(ba), std::end(ba)); H h;