mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 20:34:26 +02:00
feat: 💥 from now on dimnensions have to be marked as final
This commit is contained in:
@@ -36,7 +36,7 @@ import mp_units.core;
|
||||
using namespace mp_units;
|
||||
|
||||
// clang-format off
|
||||
inline constexpr struct dim_currency : base_dimension<"$"> {} dim_currency;
|
||||
inline constexpr struct dim_currency final : base_dimension<"$"> {} dim_currency;
|
||||
|
||||
QUANTITY_SPEC(currency, dim_currency);
|
||||
|
||||
|
Reference in New Issue
Block a user