coord/init: make 1-dimension constructor explicit
This commit is contained in:
parent
1277975708
commit
8b2c1d3fd2
@ -31,7 +31,7 @@ namespace util::coord {
|
|||||||
{
|
{
|
||||||
using store<1,T,tags...>::store;
|
using store<1,T,tags...>::store;
|
||||||
constexpr init () = default;
|
constexpr init () = default;
|
||||||
constexpr init (T v0):
|
constexpr explicit init (T v0):
|
||||||
store<1,T,tags...> ({v0})
|
store<1,T,tags...> ({v0})
|
||||||
{ ; }
|
{ ; }
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user