refactor: point origin can't be set for a unit that does not have an associated quantity kind

This commit is contained in:
Mateusz Pusz
2023-12-21 12:25:09 +01:00
parent fe099b5ad1
commit cccf1e24b0

View File

@@ -153,13 +153,6 @@ struct named_unit<Symbol> {
static constexpr auto symbol = Symbol; ///< Unique base unit identifier static constexpr auto symbol = Symbol; ///< Unique base unit identifier
}; };
template<basic_symbol_text Symbol, PointOrigin auto PO>
requires(!Symbol.empty())
struct named_unit<Symbol, PO> {
static constexpr auto symbol = Symbol; ///< Unique base unit identifier
static constexpr auto point_origin = PO;
};
/** /**
* @brief Specialization for a unit with special name * @brief Specialization for a unit with special name
* *