Fixed source location and make SPDLOG_TRACE: that only one that inject source location info.

This commit is contained in:
gabime
2018-11-24 17:08:13 +02:00
parent 1293af093c
commit dc13700094
5 changed files with 29 additions and 17 deletions

View File

@@ -197,11 +197,11 @@ struct source_loc
, line(line)
{
}
//
// source_loc (const source_loc&) = default;
// source_loc& operator=(const source_loc&) = default;
// source_loc& operator=(source_loc&&) = default;
SPDLOG_CONSTEXPR bool empty() const
{
return line == 0;
}
const char *filename;
uint32_t line;
};