From d30f5a668c20dc3ac3d784601be2cde8f5c1201d Mon Sep 17 00:00:00 2001 From: Roth Michaels Date: Mon, 9 Dec 2024 17:53:13 +0100 Subject: [PATCH] clang-format fixes --- src/core/include/mp-units/framework/representation_concepts.h | 2 +- test/static/quantity_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/include/mp-units/framework/representation_concepts.h b/src/core/include/mp-units/framework/representation_concepts.h index 5ff831894..0a6950d97 100644 --- a/src/core/include/mp-units/framework/representation_concepts.h +++ b/src/core/include/mp-units/framework/representation_concepts.h @@ -349,7 +349,7 @@ concept IsOfCharacter = (Ch == quantity_character::scalar && Scalar) || (Ch == quantity_character::complex && Complex) || (Ch == quantity_character::vector && Vector); // || (Ch == quantity_character::tensor && Tensor); #endif -} +} // namespace detail MP_UNITS_EXPORT template concept RepresentationOf = diff --git a/test/static/quantity_test.cpp b/test/static/quantity_test.cpp index 40948a2d8..418c66a91 100644 --- a/test/static/quantity_test.cpp +++ b/test/static/quantity_test.cpp @@ -79,7 +79,7 @@ concept invalid_types = requires { }; // vector representation expected requires !requires { typename Q>; - }; // scalar representation expected + }; // scalar representation expected requires !requires { typename Q>; }; // incompatible character requires !requires { typename Q; }; // incompatible character #endif