From dfc02f97618820c71d2626c7a79b456dda88e149 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Sat, 19 Mar 2022 17:07:31 +0000 Subject: [PATCH] AK: Fix typo in warnln_if() --- AK/Format.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AK/Format.h b/AK/Format.h index 83971c1474b..661a37ce248 100644 --- a/AK/Format.h +++ b/AK/Format.h @@ -575,10 +575,10 @@ void warnln(CheckedFormatString&& fmtstr, const Parameters&... pa inline void warnln() { outln(stderr); } -# define warnln_if(flag, fmt, ...) \ - do { \ - if constexpr (flag) \ - outln(fmt, ##__VA_ARGS__); \ +# define warnln_if(flag, fmt, ...) \ + do { \ + if constexpr (flag) \ + warnln(fmt, ##__VA_ARGS__); \ } while (0) #endif