Compare commits

...

1 Commits

Author SHA1 Message Date
Johannes Kapfhammer 5f3c72389c print int instead of int64_t in expression 2019-10-07 14:30:53 +02:00
1 changed files with 2 additions and 1 deletions

View File

@ -173,7 +173,8 @@ T &&dbg_print(T &&value, std::string const& type, char const *file, int line,
soi::print(value_buffer, ref);
std::cerr << ANSI_DEBUG << "[" << file << ":" << line << " (" << function_name
<< ")] " << ANSI_RESET << ANSI_EXPRESSION << expression
<< ")] " << ANSI_RESET << ANSI_EXPRESSION
<< replace_all(expression, "int64_t", "int")
<< ANSI_RESET << " = " << ANSI_VALUE << value_buffer.rdbuf()
<< ANSI_RESET << " (" << ANSI_TYPE << type << ANSI_RESET << ")"
<< '\n';