Skip to content

Commit f7fc8dd

Browse files
committed
Revert "refactor(example): explicit conversions added for ranged_representation arguments"
This reverts commit 0811ca9.
1 parent 6e7eeed commit f7fc8dd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

example/include/geographic.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,10 @@ inline constexpr struct prime_meridian final : mp_units::absolute_point_origin<m
7979

8080

8181
template<typename T = double>
82-
using latitude = mp_units::quantity_point<mp_units::si::degree, equator, ranged_representation<T, T{-90}, T{90}>>;
82+
using latitude = mp_units::quantity_point<mp_units::si::degree, equator, ranged_representation<T, -90, 90>>;
8383

8484
template<typename T = double>
85-
using longitude =
86-
mp_units::quantity_point<mp_units::si::degree, prime_meridian, ranged_representation<T, T{-180}, T{180}>>;
85+
using longitude = mp_units::quantity_point<mp_units::si::degree, prime_meridian, ranged_representation<T, -180, 180>>;
8786

8887
template<class CharT, class Traits, typename T>
8988
std::basic_ostream<CharT, Traits>& operator<<(std::basic_ostream<CharT, Traits>& os, const latitude<T>& lat)

0 commit comments

Comments
 (0)