From 5dcf87ac28a30c8cd044d158af0308146be59ad2 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Fri, 16 Jun 2023 13:55:27 +0300 Subject: [PATCH] docs: link to the code example updated in README --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9b42b4e1..40ceab70 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,8 @@ accuracy. Please see the below example for a quick preview of basic library feat using namespace mp_units; -constexpr QuantityOf auto avg_speed(QuantityOf auto d, QuantityOf auto t) +constexpr QuantityOf auto avg_speed(QuantityOf auto d, + QuantityOf auto t) { return d / t; } @@ -115,4 +116,4 @@ int main() } ``` -_Try it on the [Compiler Explorer](https://godbolt.org/z/b4a3Ya6dY)._ +_Try it on the [Compiler Explorer](https://godbolt.org/z/rrTojn47v)._