mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 20:54:28 +02:00
fix: [[nodiscard]]
removed from a format()
function
This commit is contained in:
@@ -418,7 +418,7 @@ public:
|
||||
}
|
||||
|
||||
template<typename FormatContext>
|
||||
[[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)
|
||||
|
Reference in New Issue
Block a user