os: Construct invalid 'Rect' by default
This commit is contained in:
parent
867a7018e8
commit
9cc9736bf1
|
@ -115,7 +115,7 @@ class Genode::Rect
|
|||
Rect(Point<CT> p, Area<DT> a)
|
||||
: _p1(p), _p2(p.x() + a.w() - 1, p.y() + a.h() - 1) { }
|
||||
|
||||
Rect() { }
|
||||
Rect() : /* invalid */ _p1(1, 1), _p2(0, 0) { }
|
||||
|
||||
/**
|
||||
* Accessors
|
||||
|
|
Loading…
Reference in New Issue