From 11e6f67e23f37fd35241f52d324e7cc7bfc0ffbd Mon Sep 17 00:00:00 2001 From: Orange Date: Fri, 19 Jun 2026 01:09:53 +0300 Subject: [PATCH] added more noexcept --- include/omath/linear_algebra/vector3.hpp | 2 +- include/omath/linear_algebra/vector4.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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(); }