mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-05 05:04:27 +02:00
refactor: latitude
and longitude
simplified
This commit is contained in:
@@ -45,11 +45,11 @@ private:
|
|||||||
value_type value_;
|
value_type value_;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct latitude : coordinate<struct latitude_, double> {
|
struct latitude : coordinate<latitude, double> {
|
||||||
using coordinate::coordinate;
|
using coordinate::coordinate;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct longitude : coordinate<struct longitude_, double> {
|
struct longitude : coordinate<longitude, double> {
|
||||||
using coordinate::coordinate;
|
using coordinate::coordinate;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user