From fbd1d95e7e0431dd43c67d2697f72a3043fc475e Mon Sep 17 00:00:00 2001 From: Jeremy Perez Date: Mon, 9 Oct 2023 13:46:07 +0200 Subject: [PATCH] fixed typo in error msg. --- include/rfl/ConStr.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rfl/ConStr.hpp b/include/rfl/ConStr.hpp index a11bc8dd..030fd824 100644 --- a/include/rfl/ConStr.hpp +++ b/include/rfl/ConStr.hpp @@ -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)); } }