mirror of
https://github.com/orange-cpp/omath.git
synced 2026-06-20 06:04:36 +00:00
added more noexcept
This commit is contained in:
@@ -340,7 +340,7 @@ template<class Type>
|
||||
struct std::formatter<omath::Vector3<Type>> // 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();
|
||||
}
|
||||
|
||||
@@ -245,7 +245,7 @@ template<class Type>
|
||||
struct std::formatter<omath::Vector4<Type>> // 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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user