Added std:: qualification to nullptr_t

Apparently Clang doesn't like it unqualfied 😄
This commit is contained in:
Martin Hořeňovský 2017-05-03 00:29:36 +02:00
parent 33ed1773f4
commit c5c3d368a2
2 changed files with 2 additions and 2 deletions

View File

@ -180,7 +180,7 @@ namespace Catch {
};
template<>
struct StringMaker<nullptr_t> {
struct StringMaker<std::nullptr_t> {
std::string operator()(std::nullptr_t);
};

View File

@ -197,7 +197,7 @@ std::string StringMaker<unsigned char>::operator()(unsigned 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";
}