fix unused variable warning
This commit is contained in:
parent
34a5659bcb
commit
937a7f7028
|
@ -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';
|
||||||
|
|
Loading…
Reference in New Issue