From 306096af147086ce0fbc7d8c52a7435a6e8ef674 Mon Sep 17 00:00:00 2001 From: Orange Date: Mon, 22 Jun 2026 06:31:56 +0300 Subject: [PATCH] fixed stuffed --- include/omath/linear_algebra/mat.hpp | 2 +- include/omath/trigonometry/angle.hpp | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/include/omath/linear_algebra/mat.hpp b/include/omath/linear_algebra/mat.hpp index a5115ef..6ac96cf 100644 --- a/include/omath/linear_algebra/mat.hpp +++ b/include/omath/linear_algebra/mat.hpp @@ -873,7 +873,7 @@ namespace omath } // namespace omath template -struct std::formatter> // NOLINT(*-dcl58-cpp) +struct std::formatter> final // NOLINT(*-dcl58-cpp) { using MatType = omath::Mat; [[nodiscard("You must use parse iterator")]] diff --git a/include/omath/trigonometry/angle.hpp b/include/omath/trigonometry/angle.hpp index cd33534..9d8f9cc 100644 --- a/include/omath/trigonometry/angle.hpp +++ b/include/omath/trigonometry/angle.hpp @@ -154,10 +154,11 @@ namespace omath } // namespace omath template -struct std::formatter, char> // NOLINT(*-dcl58-cpp) +struct std::formatter, char> final // NOLINT(*-dcl58-cpp) { using AngleT = omath::Angle; + [[nodiscard]] static constexpr auto parse(std::format_parse_context& ctx) { return ctx.begin(); @@ -174,10 +175,11 @@ struct std::formatter, char> // NOLINT(*-dcl58-cp // wchar_t formatter template -struct std::formatter, wchar_t> // NOLINT(*-dcl58-cpp) +struct std::formatter, wchar_t> final // NOLINT(*-dcl58-cpp) { using AngleT = omath::Angle; + [[nodiscard]] static constexpr auto parse(std::wformat_parse_context& ctx) { return ctx.begin(); @@ -194,10 +196,11 @@ struct std::formatter, wchar_t> // NOLINT(*-dcl58 // wchar_t formatter template -struct std::formatter, char8_t> // NOLINT(*-dcl58-cpp) +struct std::formatter, char8_t> final // NOLINT(*-dcl58-cpp) { using AngleT = omath::Angle; + [[nodiscard]] static constexpr auto parse(std::wformat_parse_context& ctx) { return ctx.begin();