os: define CAP_QUOTA as constexpr (C++20)

Issue #4869
This commit is contained in:
Norman Feske
2023-05-15 17:47:54 +02:00
committed by Christian Helmuth
parent 604d6bf567
commit 29079b2ac8
19 changed files with 22 additions and 20 deletions

View File

@ -77,7 +77,7 @@ struct Nic::Session : Genode::Session
* rx and tx, and four signal context capabilities for the data-flow
* signals.
*/
enum { CAP_QUOTA = 8 };
static constexpr unsigned CAP_QUOTA = 8;
virtual ~Session() { }