test: add missing explicit specifier

This commit is contained in:
Johel Ernesto Guerrero Peña
2020-09-06 01:33:47 -04:00
committed by Mateusz Pusz
parent 4112414729
commit c09dbb1756

View File

@@ -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
};