mirror of
https://codeberg.org/DawnMagnet/reflect-cpp
synced 2026-12-03 08:46:19 +08:00
fixed typo in error msg.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user