mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-13 04:38:20 +00:00
os: make nitpicker compatible to C++20
Avoid arithmetics on enum values, disambiguate '==' operator of handle_registry. Fixes #4875
This commit is contained in:
committed by
Christian Helmuth
parent
f679864c23
commit
604d6bf567
@ -55,7 +55,7 @@ struct Framebuffer::Session : Genode::Session
|
||||
* session-object allocation, a dataspace capability for the framebuffer
|
||||
* dataspace, and its session capability.
|
||||
*/
|
||||
enum { CAP_QUOTA = 3 };
|
||||
static constexpr unsigned CAP_QUOTA = 3;
|
||||
|
||||
typedef Session_client Client;
|
||||
|
||||
|
Reference in New Issue
Block a user