diff --git a/include/omath/linear_algebra/vector3.hpp b/include/omath/linear_algebra/vector3.hpp index 1fa6c27..689cbfb 100644 --- a/include/omath/linear_algebra/vector3.hpp +++ b/include/omath/linear_algebra/vector3.hpp @@ -340,7 +340,7 @@ template struct std::formatter> // NOLINT(*-dcl58-cpp) { [[nodiscard("You must use parse iterator")]] - static constexpr auto parse(std::format_parse_context& ctx) + static constexpr auto parse(std::format_parse_context& ctx) noexcept { return ctx.begin(); } diff --git a/include/omath/linear_algebra/vector4.hpp b/include/omath/linear_algebra/vector4.hpp index 2044acf..17c9c50 100644 --- a/include/omath/linear_algebra/vector4.hpp +++ b/include/omath/linear_algebra/vector4.hpp @@ -245,7 +245,7 @@ template struct std::formatter> // NOLINT(*-dcl58-cpp) { [[nodiscard("You must use parse iterator")]] - static constexpr auto parse(std::format_parse_context& ctx) + static constexpr auto parse(std::format_parse_context& ctx) noexcept { return ctx.begin(); }