forked from mpusz/mp-units
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>> {
|
||||
T value_{};
|
||||
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
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user