base: remove overriden try_alloc default argument

`Expandind_pd_session_client::try_alloc` is an overriden virtual method
of `Ram_allocator::try_alloc`. The latter specifies the default Cache
argument as CACHED. The overriden method should either do the same or
not even specify a default argument at all.

genodelabs/genode#5000
This commit is contained in:
Johannes Schlatow 2023-10-09 12:50:20 +02:00 committed by Christian Helmuth
parent c738f4b029
commit b7855cc517

View File

@ -38,7 +38,7 @@ struct Genode::Expanding_pd_session_client : Pd_session_client
Expanding_pd_session_client(Parent &parent, Pd_session_capability cap)
: Pd_session_client(cap), _parent(parent) { }
Alloc_result try_alloc(size_t size, Cache cache = UNCACHED) override
Alloc_result try_alloc(size_t size, Cache cache) override
{
/*
* If the PD session runs out of quota, issue a resource request