fix unused variable warning

This commit is contained in:
Johannes Kapfhammer 2019-10-12 08:52:08 +02:00
parent 34a5659bcb
commit 937a7f7028
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ T &&dbg_print(T &&value, std::string const& type, char const *file, int line,
template <unsigned int N> template <unsigned int N>
auto dbg_print(const char (&msg)[N], std::string const &, char const *file, 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) { -> decltype(msg) {
std::cerr << ANSI_DEBUG << "[" << file << ":" << line << " (" << function_name std::cerr << ANSI_DEBUG << "[" << file << ":" << line << " (" << function_name
<< ")] " << ANSI_RESET << ANSI_MESSAGE << msg << ANSI_RESET << '\n'; << ")] " << ANSI_RESET << ANSI_MESSAGE << msg << ANSI_RESET << '\n';