mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2025-06-27 00:38:20 -05:00
log/backend: Use in-class initializer for FileBackend
We can also avoid redundant constructions of the same string repeatedly.
This commit is contained in:
@ -94,8 +94,8 @@ public:
|
||||
void Write(const Entry& entry) override;
|
||||
|
||||
private:
|
||||
Common::FS::IOFile file;
|
||||
std::size_t bytes_written;
|
||||
FS::IOFile file;
|
||||
std::size_t bytes_written = 0;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user