mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-09 04:15:52 +00:00
base/affinity.h: simplify member initialization
This is just a minor style improvement.
This commit is contained in:
parent
d4f246517c
commit
9bba6613e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user