fixed typo in error msg.

This commit is contained in:
Jeremy Perez
2023-10-09 13:46:07 +02:00
parent fdfec40f92
commit fbd1d95e7e
+1 -1
View File
@@ -41,7 +41,7 @@ public:
if constexpr (_max >= 0) {
if (unvalidated_str.length() > _max) {
throw std::runtime_error("String '" + unvalidated_str +
"' is shorter than max length" +
"' is longer than max length" +
std::to_string(_max));
}
}