From 310f344598c1e2c46303864390f05d0a4d7b3626 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 22 Dec 2020 00:20:23 +0100 Subject: [PATCH] test: {fmt} dependency check added in 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 46ad6baf..47fb6af7 100644 --- a/test_package/test_package.cpp +++ b/test_package/test_package.cpp @@ -20,6 +20,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. +#include #include #include @@ -33,5 +34,5 @@ constexpr Speed auto avg_speed(Length auto d, Time auto t) int main() { using namespace units::physical::si::literals; - std::cout << "Average speed = " << avg_speed(240._q_km, 2_q_h) << '\n'; + std::cout << fmt::format("Average speed = {}", avg_speed(240._q_km, 2_q_h)) << '\n'; }