"clang-format off" removed for base_dimension_less

This commit is contained in:
Mateusz Pusz
2020-02-25 11:55:16 +01:00
parent 63463e7a35
commit 736a8bd3c8

View File

@@ -56,11 +56,10 @@ struct base_dimension {
};
// base_dimension_less
// TODO Remove the below when https://bugs.llvm.org/show_bug.cgi?id=32208 is fixed
// clang-format off
template<BaseDimension D1, BaseDimension D2>
struct base_dimension_less : std::bool_constant<
D1::symbol < D2::symbol || (D1::symbol == D2::symbol && D1::base_unit::symbol < D1::base_unit::symbol)> {};
// clang-format on
struct base_dimension_less :
std::bool_constant<(D1::symbol < D2::symbol) ||
(D1::symbol == D2::symbol && D1::base_unit::symbol < D1::base_unit::symbol)> {
};
} // namespace units