diff --git a/test_package/test_package.cpp b/test_package/test_package.cpp index 91680dd9..5c39d71b 100644 --- a/test_package/test_package.cpp +++ b/test_package/test_package.cpp @@ -20,22 +20,20 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. -#include -#include -#include -#include +#include +#include +#include #include -using namespace units; +using namespace mp_units; -template -constexpr auto avg_speed(Length d, Time t) +constexpr QuantityOf auto avg_speed(QuantityOf auto d, QuantityOf auto t) { return d / t; } int main() { - using namespace units::isq::si::references; + using namespace mp_units::si::unit_symbols; std::cout << "Average speed = " << avg_speed(240 * km, 2 * h) << '\n'; }