region: fix potential infinite recursion
This commit is contained in:
parent
c2589abc8e
commit
c3c1b9cc39
@ -286,7 +286,7 @@ template <size_t S, typename T>
|
||||
util::region<S,T>&
|
||||
util::region<S,T>::expand (T mag)
|
||||
{
|
||||
return expand ({mag});
|
||||
return expand (vector<S,T> {mag});
|
||||
}
|
||||
|
||||
|
||||
@ -307,7 +307,7 @@ template <size_t S, typename T>
|
||||
util::region<S,T>
|
||||
util::region<S,T>::expanded (T mag) const
|
||||
{
|
||||
return expanded ({mag});
|
||||
return expanded (vector<S,T> {mag});
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user