README example fixed

This commit is contained in:
Mateusz Pusz
2019-12-17 10:12:17 +01:00
parent cdb6a4822e
commit 608adf92ae

View File

@@ -8,6 +8,11 @@
## TL;DR
```cpp
#include <units/physical/si/velocity.h>
#include <iostream>
using namespace units;
constexpr Velocity auto avg_speed(Length auto d, Time auto t)
{
return d / t;