From e4232b583434569243c0981bfb1d7b5bbc577092 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 9 May 2024 15:51:33 +0200 Subject: [PATCH] docs: examples in README do not use C++ modules anymore --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7df515ce..678b3c5c 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ analysis and unit/quantity manipulation. Here is a small example of possible operations: ```cpp -import mp_units; +#include using namespace mp_units; using namespace mp_units::si::unit_symbols; @@ -89,11 +89,15 @@ and dimensional analysis can be performed without sacrificing on runtime perform accuracy. Please see the below example for a quick preview of basic library features: ```cpp +#include +#include +#include +#include +#include #include #include #include #include -import mp_units; using namespace mp_units;