From 937a7f70283dbb343cae2d68cb2d7afd3a1ce585 Mon Sep 17 00:00:00 2001 From: Johannes Kapfhammer Date: Sat, 12 Oct 2019 08:52:08 +0200 Subject: [PATCH] fix unused variable warning --- include/bits/soi-dbg.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bits/soi-dbg.hpp b/include/bits/soi-dbg.hpp index 6ba3cce..d8c89aa 100644 --- a/include/bits/soi-dbg.hpp +++ b/include/bits/soi-dbg.hpp @@ -184,7 +184,7 @@ T &&dbg_print(T &&value, std::string const& type, char const *file, int line, template auto dbg_print(const char (&msg)[N], std::string const &, char const *file, - int line, std::string const& function_name, char const *expression) + int line, std::string const& function_name, char const *) -> decltype(msg) { std::cerr << ANSI_DEBUG << "[" << file << ":" << line << " (" << function_name << ")] " << ANSI_RESET << ANSI_MESSAGE << msg << ANSI_RESET << '\n';