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 | 5f80027f153ea3339dc4a1d6809ad52366539be9 (patch) | |
| tree | a3da6425dad51f9650e0dda54683ac45d05031b9 /src/common/logging/backend.cpp | |
| parent | bb1bc3dd57d17bf4c132d41ed8f748f7d99e2f29 (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) { |
