log/backend: Correct order of const in copy constructor

Follows our predominant coding style. Also explicitly specifies the move
constructor/assignment operator as well.
This commit is contained in:
Lioncash 2021-04-14 23:05:42 -04:00 committed by GPUCode
parent b4c38372d1
commit 173b84c8ff
1 changed files with 5 additions and 2 deletions

View File

@ -38,8 +38,11 @@ public:
return backend; return backend;
} }
Impl(Impl const&) = delete; Impl(const Impl&) = delete;
const Impl& operator=(Impl const&) = 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, void PushEntry(Class log_class, Level log_level, const char* filename, unsigned int line_num,
const char* function, std::string message) { const char* function, std::string message) {