[C++11] Now that the users are gone, rip out the duplicated traits from type_traits.h
Simplify the remaining ones a bit. llvm-svn: 203249
This commit is contained in:
@@ -116,7 +116,8 @@ TYPED_TEST(ValueMapTest, OperationsWork) {
|
||||
|
||||
template<typename ExpectedType, typename VarType>
|
||||
void CompileAssertHasType(VarType) {
|
||||
static_assert((is_same<ExpectedType, VarType>::value), "Not the same type");
|
||||
static_assert(std::is_same<ExpectedType, VarType>::value,
|
||||
"Not the same type");
|
||||
}
|
||||
|
||||
TYPED_TEST(ValueMapTest, Iteration) {
|
||||
|
||||
Reference in New Issue
Block a user