diff --git a/include/bits/soi-dbg.hpp b/include/bits/soi-dbg.hpp index f59fb0f..390a1a6 100644 --- a/include/bits/soi-dbg.hpp +++ b/include/bits/soi-dbg.hpp @@ -174,7 +174,7 @@ T &&dbg_print(T &&value, std::string const& type, char const *file, int line, std::cerr << ANSI_DEBUG << "[" << file << ":" << line << " (" << function_name << ")] " << ANSI_RESET << ANSI_EXPRESSION - << replace_all(expression, "int64_t", "int") + << replace_all(c, "int64_t", "int") << ANSI_RESET << " = " << ANSI_VALUE << value_buffer.rdbuf() << ANSI_RESET << " (" << ANSI_TYPE << type << ANSI_RESET << ")" << '\n';