summaryrefslogtreecommitdiffstats
path: root/src/common/logging/backend.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-08-03 16:31:57 +0200
committerLioncash <mathew1800@gmail.com>2020-08-03 16:37:48 +0200
commit8725b37a358cf27c144d7b606fa8f126d61ee52d (patch)
tree3fd0a43978fd9044dea400ea7ebc3e9685b9a693 /src/common/logging/backend.h
parentipc: Allow all trivially copyable objects to be passed directly into WriteBuffer (#4465) (diff)
downloadyuzu-8725b37a358cf27c144d7b606fa8f126d61ee52d.tar
yuzu-8725b37a358cf27c144d7b606fa8f126d61ee52d.tar.gz
yuzu-8725b37a358cf27c144d7b606fa8f126d61ee52d.tar.bz2
yuzu-8725b37a358cf27c144d7b606fa8f126d61ee52d.tar.lz
yuzu-8725b37a358cf27c144d7b606fa8f126d61ee52d.tar.xz
yuzu-8725b37a358cf27c144d7b606fa8f126d61ee52d.tar.zst
yuzu-8725b37a358cf27c144d7b606fa8f126d61ee52d.zip
Diffstat (limited to '')
-rw-r--r--src/common/logging/backend.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/common/logging/backend.h b/src/common/logging/backend.h
index fc338c70d..e5d702568 100644
--- a/src/common/logging/backend.h
+++ b/src/common/logging/backend.h
@@ -21,19 +21,13 @@ class Filter;
*/
struct Entry {
std::chrono::microseconds timestamp;
- Class log_class;
- Level log_level;
- const char* filename;
- unsigned int line_num;
+ Class log_class{};
+ Level log_level{};
+ const char* filename = nullptr;
+ unsigned int line_num = 0;
std::string function;
std::string message;
bool final_entry = false;
-
- Entry() = default;
- Entry(Entry&& o) = default;
-
- Entry& operator=(Entry&& o) = default;
- Entry& operator=(const Entry& o) = default;
};
/**