os: support non-int coordinates in 'Point<>'

This commit is contained in:
Norman Feske 2018-03-08 18:24:16 +01:00 committed by Christian Helmuth
parent f7cacd16a0
commit 579ca1063c
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ class Genode::Point
Point(CT x, CT y): _x(x), _y(y) { }
Point(): _x(0), _y(0) { }
int x() const { return _x; }
int y() const { return _y; }
CT x() const { return _x; }
CT y() const { return _y; }
/**
* Operator for adding points