diff options
author | Lioncash <mathew1800@gmail.com> | 2021-04-14 23:05:42 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-04-14 23:11:01 -0400 |
commit | 2a341c9969ceaa6620c89ccf102eacb8a31215e5 (patch) | |
tree | a3da6425dad51f9650e0dda54683ac45d05031b9 /src/common/logging/backend.cpp | |
parent | 64606aefcf2407513d3687a1f8d325653bde1f72 (diff) |
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/common/logging/backend.cpp')
-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 c06364977f..2e0467ef40 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -37,8 +37,11 @@ public: return backend; } - Impl(Impl const&) = delete; - const Impl& operator=(Impl const&) = delete; + Impl(const Impl&) = delete; + Impl& operator=(const Impl&) = delete; + + Impl(Impl&&) = delete; + Impl& operator=(Impl&&) = delete; void PushEntry(Class log_class, Level log_level, const char* filename, unsigned int line_num, const char* function, std::string message) { |