added more noexcept

This commit is contained in:
2026-06-19 01:09:53 +03:00
parent d7f9ab6e85
commit 11e6f67e23
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -340,7 +340,7 @@ template<class Type>
struct std::formatter<omath::Vector3<Type>> // NOLINT(*-dcl58-cpp) struct std::formatter<omath::Vector3<Type>> // NOLINT(*-dcl58-cpp)
{ {
[[nodiscard("You must use parse iterator")]] [[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(); return ctx.begin();
} }
+1 -1
View File
@@ -245,7 +245,7 @@ template<class Type>
struct std::formatter<omath::Vector4<Type>> // NOLINT(*-dcl58-cpp) struct std::formatter<omath::Vector4<Type>> // NOLINT(*-dcl58-cpp)
{ {
[[nodiscard("You must use parse iterator")]] [[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(); return ctx.begin();
} }