From 52544678c1eaef05bc9864db7febb6f661996bf1 Mon Sep 17 00:00:00 2001 From: Jonas Hoppe <162709928+czjhoppe@users.noreply.github.com> Date: Mon, 9 Sep 2024 12:37:38 +0200 Subject: [PATCH] [msvc][fix] add Workaround Macro to conan test-package --- test_package/test_package.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test_package/test_package.cpp b/test_package/test_package.cpp index 0ab5bdb0..c941f06d 100644 --- a/test_package/test_package.cpp +++ b/test_package/test_package.cpp @@ -24,11 +24,12 @@ #include #include #include +#include #include using namespace mp_units; -constexpr QuantityOf auto avg_speed(QuantityOf<(isq::distance)> auto d, QuantityOf<(isq::duration)> auto t) +constexpr QuantityOf auto avg_speed(QuantityOf auto d, QuantityOf auto t) { return d / t; }