mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
rpi: fix response initialization in platform_drv
GCC 4.9 legitimately whines that const members of responses must be initialized on construction.
This commit is contained in:
parent
4dad09203a
commit
7d39304050
@ -34,8 +34,8 @@ namespace Property_command {
|
||||
|
||||
struct Response
|
||||
{
|
||||
uint32_t const device_id;
|
||||
uint32_t const state;
|
||||
uint32_t const device_id = 0;
|
||||
uint32_t const state = 0;
|
||||
};
|
||||
};
|
||||
|
||||
@ -57,8 +57,8 @@ namespace Property_command {
|
||||
|
||||
struct Response
|
||||
{
|
||||
uint32_t const device_id;
|
||||
uint32_t const state;
|
||||
uint32_t const device_id = 0;
|
||||
uint32_t const state = 0;
|
||||
};
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user