diff --git a/src/catch2/matchers/catch_matchers_templates.hpp b/src/catch2/matchers/catch_matchers_templates.hpp index 34e067ff..8959791f 100644 --- a/src/catch2/matchers/catch_matchers_templates.hpp +++ b/src/catch2/matchers/catch_matchers_templates.hpp @@ -60,7 +60,7 @@ namespace Matchers { template using is_generic_matcher = std::is_base_of< Catch::Matchers::MatcherGenericBase, - typename std::remove_cv::type>::type + std::remove_cv_t> >; template @@ -69,7 +69,7 @@ namespace Matchers { template using is_matcher = std::is_base_of< Catch::Matchers::MatcherUntypedBase, - typename std::remove_cv::type>::type + std::remove_cv_t> >;