mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03:00
AK: Fix typo in warnln_if()
This commit is contained in:
parent
11ab8ee80a
commit
dfc02f9761
Notes:
sideshowbarker
2024-07-17 17:06:28 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/dfc02f9761 Pull-request: https://github.com/SerenityOS/serenity/pull/13137 Reviewed-by: https://github.com/bgianfo ✅
@ -575,10 +575,10 @@ void warnln(CheckedFormatString<Parameters...>&& 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
|
||||
|
Loading…
Reference in New Issue
Block a user