From 4f75a48ba308692f7bb9ee19b059728cadda007f Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Wed, 4 Dec 2024 21:14:02 +0100 Subject: [PATCH] refactor: `WeaklyRegular` removed from `ScalableWith` --- src/core/include/mp-units/framework/representation_concepts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/include/mp-units/framework/representation_concepts.h b/src/core/include/mp-units/framework/representation_concepts.h index 57b3d7d6..3ab804dc 100644 --- a/src/core/include/mp-units/framework/representation_concepts.h +++ b/src/core/include/mp-units/framework/representation_concepts.h @@ -75,7 +75,7 @@ template concept WeaklyRegular = std::copyable && std::equality_comparable; template -concept ScalableWith = WeaklyRegular && requires(const T v, const S s) { +concept ScalableWith = requires(const T v, const S s) { { v* s / s } -> std::common_with; { s* v / s } -> std::common_with; { v / s* s } -> std::common_with;