mirror of
https://github.com/gabime/spdlog.git
synced 2025-10-02 11:29:01 +08:00
Fixed source location and make SPDLOG_TRACE: that only one that inject source location info.
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user