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

@ -34,7 +34,7 @@ struct Terminal::Session : Genode::Session
* session-object allocation, its session capability, and a dataspace
* capability for the communication buffer.
*/
enum { CAP_QUOTA = 3 };
static constexpr unsigned CAP_QUOTA = 3;
class Size
{