refactor: UNITS_UDLS renamed to UNITS_LITERALS
Also now the existence of the preprocessor flag is enough to trigger the feature (`#ifdef` instead of `#if`)
This commit is contained in:
1 parent
a954f5d924
commit
c3659dbb47
92 files changed
+181
-185
No files matched your search
@@ -43,7 +43,7 @@ concept Angle = QuantityOfT<T, dim_angle>;
|
||||
template<UnitOf<dim_angle<>> U, Representation Rep = double>
|
||||
using angle = quantity<dim_angle<>, U, Rep>;
|
||||
|
||||
#if UNITS_UDLS
|
||||
#ifdef UNITS_LITERALS
|
||||
|
||||
inline namespace literals {
|
||||
|
||||
@@ -53,7 +53,7 @@ constexpr auto operator"" _q_rad(long double l) { return angle<radian, long doub
|
||||
|
||||
} // namespace literals
|
||||
|
||||
#endif // UNITS_UDLS
|
||||
#endif // UNITS_LITERALS
|
||||
|
||||
namespace references {
|
||||
|
||||
|
||||
Reference in new issue
Block a user