mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 21:36:11 +01:00
Use _t form of traits
This commit is contained in:
parent
c2daf468bb
commit
89e857349b
@ -60,7 +60,7 @@ namespace Matchers {
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
using is_generic_matcher = std::is_base_of<
|
using is_generic_matcher = std::is_base_of<
|
||||||
Catch::Matchers::MatcherGenericBase,
|
Catch::Matchers::MatcherGenericBase,
|
||||||
typename std::remove_cv<typename std::remove_reference<T>::type>::type
|
std::remove_cv_t<std::remove_reference_t<T>>
|
||||||
>;
|
>;
|
||||||
|
|
||||||
template<typename... Ts>
|
template<typename... Ts>
|
||||||
@ -69,7 +69,7 @@ namespace Matchers {
|
|||||||
template<typename T>
|
template<typename T>
|
||||||
using is_matcher = std::is_base_of<
|
using is_matcher = std::is_base_of<
|
||||||
Catch::Matchers::MatcherUntypedBase,
|
Catch::Matchers::MatcherUntypedBase,
|
||||||
typename std::remove_cv<typename std::remove_reference<T>::type>::type
|
std::remove_cv_t<std::remove_reference_t<T>>
|
||||||
>;
|
>;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user