mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
prefix_family in prefixed_alias_unit fixed
This commit is contained in:
@@ -183,7 +183,7 @@ template<Unit U, Prefix P, Unit AU>
|
|||||||
struct prefixed_alias_unit : U {
|
struct prefixed_alias_unit : U {
|
||||||
static constexpr bool is_named = true;
|
static constexpr bool is_named = true;
|
||||||
static constexpr auto symbol = P::symbol + AU::symbol;
|
static constexpr auto symbol = P::symbol + AU::symbol;
|
||||||
using prefix_family = AU::prefix_family;
|
using prefix_family = no_prefix;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace units
|
} // namespace units
|
||||||
|
Reference in New Issue
Block a user