From 72737d008d2e5ad9cc5b4be19d269628089513fc Mon Sep 17 00:00:00 2001 From: Dimitrij Mijoski Date: Sat, 23 Jul 2022 12:22:33 +0200 Subject: [PATCH] Suppress warning --- include/fmt/ostream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fmt/ostream.h b/include/fmt/ostream.h index fcab4dd3..641fd08b 100644 --- a/include/fmt/ostream.h +++ b/include/fmt/ostream.h @@ -100,8 +100,8 @@ inline bool write_ostream_unicode(std::ostream& os, fmt::string_view data) { return false; if (c_file) return write_console(c_file, data); #else - (void)os; // suppress warning - (void)data; + ignore_unused(os); + ignore_unused(data); #endif return false; }