mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-21 16:39:39 +00:00
@ -51,12 +51,10 @@ class Core::Synced_range_allocator : public Range_allocator
|
||||
|
||||
using Guard = typename Synced_interface<ALLOC, Mutex>::Guard;
|
||||
|
||||
template <typename... ARGS>
|
||||
Synced_range_allocator(Mutex &mutex, ARGS &&... args)
|
||||
Synced_range_allocator(Mutex &mutex, auto &&... args)
|
||||
: _mutex(mutex), _alloc(args...), _synced_object(_mutex, &_alloc) { }
|
||||
|
||||
template <typename... ARGS>
|
||||
Synced_range_allocator(ARGS &&... args)
|
||||
Synced_range_allocator(auto &&... args)
|
||||
: _alloc(args...), _synced_object(_mutex, &_alloc) { }
|
||||
|
||||
Guard operator () () { return _synced_object(); }
|
||||
|
Reference in New Issue
Block a user