mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 03:45:24 +00:00
os: replace enum by static constexpr (C++20)
Fixes the build of the nic_router. Issue #4869
This commit is contained in:
parent
29079b2ac8
commit
8e32e7a14e
@ -52,7 +52,7 @@ namespace Nic {
|
||||
*/
|
||||
struct Nic::Session : Genode::Session
|
||||
{
|
||||
enum { QUEUE_SIZE = 1024 };
|
||||
static constexpr Genode::size_t QUEUE_SIZE = 1024;
|
||||
|
||||
/*
|
||||
* Types used by the client stub code and server implementation
|
||||
|
Loading…
x
Reference in New Issue
Block a user