coord/init: make 1-dimension constructor explicit

This commit is contained in:
Danny Robson 2017-08-24 17:52:06 +10:00
parent 1277975708
commit 8b2c1d3fd2

View File

@ -31,7 +31,7 @@ namespace util::coord {
{
using store<1,T,tags...>::store;
constexpr init () = default;
constexpr init (T v0):
constexpr explicit init (T v0):
store<1,T,tags...> ({v0})
{ ; }
};