From 68da34a3b5e335f5201d7ab46e2721327bd59d17 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 6 Jun 2024 13:21:43 +0200 Subject: [PATCH] docs: `smoot` made `final` --- docs/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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() {