base/affinity.h: simplify member initialization

This is just a minor style improvement.
This commit is contained in:
Norman Feske 2020-01-06 18:34:25 +01:00 committed by Christian Helmuth
parent d4f246517c
commit 9bba6613e7

View File

@ -95,15 +95,15 @@ class Genode::Affinity
{
private:
int _xpos, _ypos;
unsigned _width, _height;
int _xpos = 0, _ypos = 0;
unsigned _width = 0, _height = 0;
public:
/**
* Default constructor creates invalid location
*/
Location() : _xpos(0), _ypos(0), _width(0), _height(0) { }
Location() { }
/**
* Constructor to express the affinity to a single CPU