coord/base: actually set fill values in constructor
This commit is contained in:
parent
4e558ce9a9
commit
2d801a1725
@ -77,7 +77,7 @@ namespace util::coord {
|
||||
base& operator= (const base<S,T,SelfT> &rhs)& = default;
|
||||
base& operator= (const T t)&
|
||||
{
|
||||
for (auto v: *this)
|
||||
for (auto &v: *this)
|
||||
v = t;
|
||||
return *this;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user