Browse Source

log/backend: Correct order of const in copy constructor

Follows our predominant coding style. Also explicitly specifies the move
constructor/assignment operator as well.
pull/15/merge
Lioncash 5 years ago
parent
commit
2a341c9969
  1. 7
      src/common/logging/backend.cpp

7
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) {

Loading…
Cancel
Save