From 8b15826c654face1b283e9921fda942b174d0667 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Thu, 8 Oct 2020 08:54:30 +0200 Subject: [PATCH] refactor: Small cleanup after @johelegp code review --- src/include/units/bits/basic_concepts.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/units/bits/basic_concepts.h b/src/include/units/bits/basic_concepts.h index 4f679ba7..cb068f29 100644 --- a/src/include/units/bits/basic_concepts.h +++ b/src/include/units/bits/basic_concepts.h @@ -246,7 +246,7 @@ concept QuantityLike = requires(T q) { // QuantityValue template -concept common_type_with_ = +concept common_type_with_ = // exposition only std::same_as, std::common_type_t> && std::constructible_from, T> && std::constructible_from, U>; @@ -266,10 +266,10 @@ concept scalable_ = // exposition only castable_number_ || (requires { typename T::value_type; } && castable_number_ && scalable_number_>); -template +template concept scalable_with_ = // exposition only - common_type_with_ && - scalable_>; + common_type_with_ && + scalable_>; // WrappedQuantity namespace detail {