From 41afd1f5de1339807973a1cabca2e8fe737bffb5 Mon Sep 17 00:00:00 2001 From: Viatorus Date: Sat, 7 Oct 2023 14:20:29 +0200 Subject: [PATCH] fix api change --- test/fuzzing/format/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fuzzing/format/main.cpp b/test/fuzzing/format/main.cpp index 00c8af9..5e79c54 100644 --- a/test/fuzzing/format/main.cpp +++ b/test/fuzzing/format/main.cpp @@ -22,7 +22,7 @@ constexpr std::tuple::infinity()}; template -void format(emio::runtime_format_string format_string, Args&&... args) { +void format(emio::runtime_string format_string, Args&&... args) { static_cast(emio::format(format_string, args...)); if constexpr (sizeof...(Args) < 3) { // Unpack tuple 3 times. std::apply( @@ -34,7 +34,7 @@ void format(emio::runtime_format_string format_string, Args&&... args) { } template -void random_format(emio::runtime_format_string format_string, int64_t storage, Arg arg) { +void random_format(emio::runtime_string format_string, int64_t storage, Arg arg) { if constexpr (std::is_same_v) { arg = format_string.view(); } else {