Replace boost/units in favor of units library

This commit is contained in:
Dan Paulat 2023-08-18 10:45:52 -05:00
parent 12833202b7
commit 35b90fa98d
15 changed files with 67 additions and 67 deletions

View file

@ -1,8 +1,7 @@
#pragma once
#include <GeographicLib/Geodesic.hpp>
#include <boost/units/quantity.hpp>
#include <boost/units/systems/si/length.hpp>
#include <units/length.h>
namespace scwx
{
@ -30,7 +29,7 @@ const ::GeographicLib::Geodesic& DefaultGeodesic();
*
* @return distance between point 1 and point 2
*/
boost::units::quantity<boost::units::si::length>
units::length::meters<double>
GetDistance(double lat1, double lon1, double lat2, double lon2);
} // namespace GeographicLib