Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMartin Hořeňovský2017-05-03 00:29:36 +0200
committerMartin Hořeňovský2017-05-03 00:29:36 +0200
commitc5c3d368a2ef3c22467e708108b2bdbcae0fd71e (patch)
treeb0550ebc05796bab0845647bee89bb32a418acd6 /include
parent33ed1773f40b406dbf3b7201bf52694bd86b1503 (diff)
downloadcatch3-c5c3d368a2ef3c22467e708108b2bdbcae0fd71e.tar.gz
Added std:: qualification to nullptr_t
Apparently Clang doesn't like it unqualfied :smile:
Diffstat (limited to 'include')
-rw-r--r--include/internal/catch_tostring.h2
-rw-r--r--include/internal/catch_tostring.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/internal/catch_tostring.h b/include/internal/catch_tostring.h
index 02eb0d6f..6a20f9ef 100644
--- a/include/internal/catch_tostring.h
+++ b/include/internal/catch_tostring.h
@@ -180,7 +180,7 @@ namespace Catch {
};
template<>
- struct StringMaker<nullptr_t> {
+ struct StringMaker<std::nullptr_t> {
std::string operator()(std::nullptr_t);
};
diff --git a/include/internal/catch_tostring.hpp b/include/internal/catch_tostring.hpp
index 8fc3c89e..06046095 100644
--- a/include/internal/catch_tostring.hpp
+++ b/include/internal/catch_tostring.hpp
@@ -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";
}