mirror of
https://github.com/citra-mirror/citra.git
synced 2024-08-20 10:23:23 +02:00
logging/backend: Change type of filename from string to const char*
This was suggested by degasus in https://github.com/yuzu-emu/yuzu/pull/3326 in order to avoid an unnecessary copy.
This commit is contained in:
parent
5d502dfecc
commit
e7a073e15f
@ -24,7 +24,7 @@ struct Entry {
|
|||||||
std::chrono::microseconds timestamp;
|
std::chrono::microseconds timestamp;
|
||||||
Class log_class;
|
Class log_class;
|
||||||
Level log_level;
|
Level log_level;
|
||||||
std::string filename;
|
const char* filename;
|
||||||
unsigned int line_num;
|
unsigned int line_num;
|
||||||
std::string function;
|
std::string function;
|
||||||
std::string message;
|
std::string message;
|
||||||
|
Loading…
Reference in New Issue
Block a user