mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 13:14:29 +02:00
fix: [[nodiscard]]
removed from a format()
function
This commit is contained in:
@@ -418,7 +418,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
template<typename FormatContext>
|
template<typename FormatContext>
|
||||||
[[nodiscard]] auto format(const quantity& q, FormatContext& ctx)
|
auto format(const quantity& q, FormatContext& ctx)
|
||||||
{
|
{
|
||||||
// process dynamic width and precision
|
// process dynamic width and precision
|
||||||
if (specs.global.dynamic_width_index >= 0)
|
if (specs.global.dynamic_width_index >= 0)
|
||||||
|
Reference in New Issue
Block a user