diff --git a/include/llvm/ADT/SmallSet.h b/include/llvm/ADT/SmallSet.h index 59f563e12b3..8359c61d084 100644 --- a/include/llvm/ADT/SmallSet.h +++ b/include/llvm/ADT/SmallSet.h @@ -51,11 +51,11 @@ public: SmallSetIterator(SetIterTy SetIter) : SetIter(SetIter), isSmall(false) { // Use static_assert here, as the SmallSetIterator type is incomplete in the // class scope. - static_assert(std::is_trivially_destructible::value && - std::is_trivially_copy_constructible::value && - std::is_trivially_copy_assignable::value && - std::is_move_constructible::value && - std::is_trivially_move_assignable::value, + static_assert(std::is_trivially_destructible() && + std::is_trivially_copy_constructible() && + std::is_trivially_copy_assignable() && + std::is_move_constructible() && + std::is_trivially_move_assignable(), "SelfTy needs to be trivial copy and move constructors and " "assignments"); }