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

summaryrefslogtreecommitdiffhomepage
path: root/src/catch2/catch_tostring.cpp
diff options
context:
space:
mode:
authorMartin Hořeňovský2020-05-09 21:14:43 +0200
committerMartin Hořeňovský2020-05-09 21:26:42 +0200
commitcb25c4a8a3d8857b07f7b87e4879a8a993c47de7 (patch)
tree4082075f7574f1b2bfea0acb6d9b347a4f60bc49 /src/catch2/catch_tostring.cpp
parentb93cf932fb4657ae650f38b5427e01553c7de2e6 (diff)
downloadcatch3-cb25c4a8a3d8857b07f7b87e4879a8a993c47de7.tar.gz
Reinline some StringMaker impls
Diffstat (limited to 'src/catch2/catch_tostring.cpp')
-rw-r--r--src/catch2/catch_tostring.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/catch2/catch_tostring.cpp b/src/catch2/catch_tostring.cpp
index 3a63a598..4eeabbae 100644
--- a/src/catch2/catch_tostring.cpp
+++ b/src/catch2/catch_tostring.cpp
@@ -201,11 +201,6 @@ std::string StringMaker<unsigned long long>::convert(unsigned long long value) {
return rss.str();
}
-
-std::string StringMaker<bool>::convert(bool b) {
- return b ? "true" : "false";
-}
-
std::string StringMaker<signed char>::convert(signed char value) {
if (value == '\r') {
return "'\\r'";
@@ -230,10 +225,6 @@ std::string StringMaker<unsigned char>::convert(unsigned char c) {
return ::Catch::Detail::stringify(static_cast<char>(c));
}
-std::string StringMaker<std::nullptr_t>::convert(std::nullptr_t) {
- return "nullptr";
-}
-
int StringMaker<float>::precision = 5;
std::string StringMaker<float>::convert(float value) {