mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-24 12:03:29 +01:00
Added std:: qualification to nullptr_t
Apparently Clang doesn't like it unqualfied 😄
This commit is contained in:
parent
33ed1773f4
commit
c5c3d368a2
@ -180,7 +180,7 @@ namespace Catch {
|
|||||||
};
|
};
|
||||||
|
|
||||||
template<>
|
template<>
|
||||||
struct StringMaker<nullptr_t> {
|
struct StringMaker<std::nullptr_t> {
|
||||||
std::string operator()(std::nullptr_t);
|
std::string operator()(std::nullptr_t);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@ std::string StringMaker<unsigned char>::operator()(unsigned char c) {
|
|||||||
return ::Catch::Detail::stringify(static_cast<char>(c));
|
return ::Catch::Detail::stringify(static_cast<char>(c));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string StringMaker<nullptr_t>::operator()(std::nullptr_t) {
|
std::string StringMaker<std::nullptr_t>::operator()(std::nullptr_t) {
|
||||||
return "nullptr";
|
return "nullptr";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user