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

@ -29,8 +29,7 @@ namespace Genode {
/**
* Return the number of characters needed when rendering 'args' as text
*/
template <typename... ARGS>
static unsigned printed_length(ARGS &&... args)
static unsigned printed_length(auto &&... args)
{
struct _Output : Output
{