os/include: use C++20 function template syntax

Issue #5227
This commit is contained in:
Norman Feske
2024-05-22 17:22:53 +02:00
committed by Christian Helmuth
parent 5e862b2cd3
commit cfd013a01a
32 changed files with 183 additions and 293 deletions

View File

@ -77,8 +77,7 @@ class Genode::Dirty_rect
* The functor 'fn' takes a 'Rect const &' as argument.
* This method resets the dirty rectangles.
*/
template <typename FN>
void flush(FN const &fn)
void flush(auto const &fn)
{
/*
* Merge rectangles if their compound is smaller than sum of their