diff --git a/src/core/include/mp-units/ext/fixed_string.h b/src/core/include/mp-units/ext/fixed_string.h index 80165c3f..1301a868 100644 --- a/src/core/include/mp-units/ext/fixed_string.h +++ b/src/core/include/mp-units/ext/fixed_string.h @@ -84,7 +84,7 @@ public: template S> requires std::convertible_to, CharT> - constexpr explicit basic_fixed_string(It begin, S end) + constexpr basic_fixed_string(It begin, S end) { gsl_Expects(std::distance(begin, end) == N); for (auto it = data_; begin != end; ++begin, ++it) *it = *begin; @@ -92,7 +92,7 @@ public: template requires std::convertible_to, CharT> - constexpr explicit basic_fixed_string(std::from_range_t, R&& r) + constexpr basic_fixed_string(std::from_range_t, R&& r) { gsl_Expects(std::ranges::size(r) == N); for (auto it = data_; auto&& v : std::forward(r)) *it++ = std::forward(v);