mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 12:54:25 +02:00
Not needed static_assert removed from quantity class template
This commit is contained in:
@@ -173,8 +173,6 @@ namespace units {
|
|||||||
using rep = Rep;
|
using rep = Rep;
|
||||||
using dimension = U::dimension;
|
using dimension = U::dimension;
|
||||||
|
|
||||||
static_assert(!Quantity<Rep>, "rep cannot be a quantity");
|
|
||||||
|
|
||||||
quantity() = default;
|
quantity() = default;
|
||||||
quantity(const quantity&) = default;
|
quantity(const quantity&) = default;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user