citra-emu
/
citra
Archived
1
0
Fork 0

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:
BreadFish64 2019-12-24 14:19:18 -06:00 committed by FearlessTobi
parent 5d502dfecc
commit e7a073e15f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ struct Entry {
std::chrono::microseconds timestamp;
Class log_class;
Level log_level;
std::string filename;
const char* filename;
unsigned int line_num;
std::string function;
std::string message;