mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:17:35 +00:00
AK: Fix typo in warnln_if()
This commit is contained in:
parent
11ab8ee80a
commit
dfc02f9761
1 changed files with 4 additions and 4 deletions
|
@ -578,7 +578,7 @@ inline void warnln() { outln(stderr); }
|
||||||
# define warnln_if(flag, fmt, ...) \
|
# define warnln_if(flag, fmt, ...) \
|
||||||
do { \
|
do { \
|
||||||
if constexpr (flag) \
|
if constexpr (flag) \
|
||||||
outln(fmt, ##__VA_ARGS__); \
|
warnln(fmt, ##__VA_ARGS__); \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue