region: use explict constructors for member vars

This commit is contained in:
Danny Robson 2015-09-09 18:44:20 +10:00
parent ba4eb8cc45
commit 69443f2c2a

View File

@ -48,7 +48,7 @@ util::region<S,T>::region (point_t _p,
template <size_t S, typename T>
util::region<S,T>::region (point_t _a,
point_t _b):
region (_a, _b - _a)
region (_a, extent_t { _b - _a })
{
debug::sanity (*this);
}