From 0987fffe99dec8693851ff2ed1998f183bc8a1c3 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 23 Dec 2022 18:06:38 +0100 Subject: [PATCH] fix: `[[nodiscard]]` removed from a `format()` function --- src/core-fmt/include/units/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core-fmt/include/units/format.h b/src/core-fmt/include/units/format.h index a4ffe7e7..04703db8 100644 --- a/src/core-fmt/include/units/format.h +++ b/src/core-fmt/include/units/format.h @@ -418,7 +418,7 @@ public: } template - [[nodiscard]] auto format(const quantity& q, FormatContext& ctx) + auto format(const quantity& q, FormatContext& ctx) { // process dynamic width and precision if (specs.global.dynamic_width_index >= 0)