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