mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-25 22:57:22 +00:00
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:
parent
64606aefcf
commit
2a341c9969
1 changed files with 5 additions and 2 deletions
|
@ -37,8 +37,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) {
|
||||||
|
|
Loading…
Reference in a new issue