Mark some single-argument constructors explicit

This commit is contained in:
Joe Loser
2018-05-20 22:23:44 -04:00
committed by Mike Ellery
parent 31e511afcf
commit f658656b82
11 changed files with 20 additions and 20 deletions

View File

@@ -127,7 +127,7 @@ struct Escrow_test : public beast::unit_test::suite
}
template <size_t N>
condition (std::array<std::uint8_t, N> c)
explicit condition (std::array<std::uint8_t, N> c)
: condition(makeSlice(c))
{
}
@@ -152,7 +152,7 @@ struct Escrow_test : public beast::unit_test::suite
}
template <size_t N>
fulfillment (std::array<std::uint8_t, N> f)
explicit fulfillment (std::array<std::uint8_t, N> f)
: fulfillment(makeSlice(f))
{
}