mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 11:27:29 +00:00
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:
parent
c738f4b029
commit
b7855cc517
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user