Add position_type typedef for regions
This commit is contained in:
parent
9098ea408d
commit
b960319436
@ -30,6 +30,7 @@ namespace util {
|
|||||||
*/
|
*/
|
||||||
template <typename T>
|
template <typename T>
|
||||||
struct region {
|
struct region {
|
||||||
|
typedef T position_type;
|
||||||
typedef typename always_unsigned<T>::type size_type;
|
typedef typename always_unsigned<T>::type size_type;
|
||||||
|
|
||||||
T x, y;
|
T x, y;
|
||||||
|
Loading…
Reference in New Issue
Block a user