coord/base: remove explicit from scalar constructor

we need to create vectors of zeros pretty often and it's pretty verbose
having to continually use the full type name each time.
This commit is contained in:
Danny Robson 2018-04-16 15:51:33 +10:00
parent 05b1c2dd80
commit c4eec456a0

View File

@ -66,7 +66,7 @@ namespace util::coord {
base () = default;
/// constructs an instance where all elements are initialised to `val'.
constexpr explicit
constexpr
base (T fill)
{
for (decltype(S) i = 0; i < S; ++i)