diff options
| author | 2021-04-14 23:05:42 -0400 | |
|---|---|---|
| committer | 2021-04-14 23:11:01 -0400 | |
| commit | 2a341c9969ceaa6620c89ccf102eacb8a31215e5 (patch) | |
| tree | a3da6425dad51f9650e0dda54683ac45d05031b9 /src | |
| parent | common/log: Move Log namespace into the Common namespace (diff) | |
| download | yuzu-2a341c9969ceaa6620c89ccf102eacb8a31215e5.tar.gz yuzu-2a341c9969ceaa6620c89ccf102eacb8a31215e5.tar.xz yuzu-2a341c9969ceaa6620c89ccf102eacb8a31215e5.zip | |
log/backend: Correct order of const in copy constructor
Follows our predominant coding style. Also explicitly specifies the move
constructor/assignment operator as well.
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/logging/backend.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index c06364977..2e0467ef4 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp | |||
| @@ -37,8 +37,11 @@ public: | |||
| 37 | return backend; | 37 | return backend; |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | Impl(Impl const&) = delete; | 40 | Impl(const Impl&) = delete; |
| 41 | const Impl& operator=(Impl const&) = delete; | 41 | Impl& operator=(const Impl&) = delete; |
| 42 | |||
| 43 | Impl(Impl&&) = delete; | ||
| 44 | Impl& operator=(Impl&&) = delete; | ||
| 42 | 45 | ||
| 43 | void PushEntry(Class log_class, Level log_level, const char* filename, unsigned int line_num, | 46 | void PushEntry(Class log_class, Level log_level, const char* filename, unsigned int line_num, |
| 44 | const char* function, std::string message) { | 47 | const char* function, std::string message) { |