diff --git a/docs/index.md b/docs/index.md index ea4b50d0..a8e4326b 100644 --- a/docs/index.md +++ b/docs/index.md @@ -33,7 +33,7 @@ The library source code is hosted on [GitHub](https://github.com/mpusz/mp-units) using namespace mp_units; - inline constexpr struct smoot : named_unit<"smoot", mag<67> * usc::inch> {} smoot; + inline constexpr struct smoot final : named_unit<"smoot", mag<67> * usc::inch> {} smoot; int main() { @@ -53,7 +53,7 @@ The library source code is hosted on [GitHub](https://github.com/mpusz/mp-units) using namespace mp_units; - inline constexpr struct smoot : named_unit<"smoot", mag<67> * usc::inch> {} smoot; + inline constexpr struct smoot final : named_unit<"smoot", mag<67> * usc::inch> {} smoot; int main() {