From 74325e7965ee95e6a9ea189360b23526a7c1b894 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 29 Oct 2024 13:15:57 +0100 Subject: [PATCH] refactor: `per_mille` symbol definition syntax changed --- src/core/include/mp-units/framework/unit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/include/mp-units/framework/unit.h b/src/core/include/mp-units/framework/unit.h index b7f2aa06..8ae78872 100644 --- a/src/core/include/mp-units/framework/unit.h +++ b/src/core/include/mp-units/framework/unit.h @@ -652,7 +652,7 @@ template // common dimensionless units // clang-format off inline constexpr struct percent final : named_unit<"%", mag_ratio<1, 100> * one> {} percent; -inline constexpr struct per_mille final : named_unit * one> {} per_mille; +inline constexpr struct per_mille final : named_unit * one> {} per_mille; inline constexpr struct parts_per_million final : named_unit<"ppm", mag_ratio<1, 1'000'000> * one> {} parts_per_million; inline constexpr auto ppm = parts_per_million; // clang-format on