mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-04 20:54:28 +02:00
test: add missing explicit specifier
This commit is contained in:
committed by
Mateusz Pusz
parent
4112414729
commit
c09dbb1756
@@ -65,7 +65,7 @@ template<typename T>
|
|||||||
struct expl_constructible : scalar_ops<expl_constructible<T>> {
|
struct expl_constructible : scalar_ops<expl_constructible<T>> {
|
||||||
T value_{};
|
T value_{};
|
||||||
expl_constructible() = default;
|
expl_constructible() = default;
|
||||||
constexpr expl_constructible(T v) : value_(std::move(v)) {}
|
constexpr explicit expl_constructible(T v) : value_(std::move(v)) {}
|
||||||
// no conversion to fundamental arithmetic types
|
// no conversion to fundamental arithmetic types
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user