mirror of
https://github.com/transmission/transmission
synced 2024-12-31 20:16:57 +00:00
Fix TeamCity Code Style (#3045)
This commit is contained in:
parent
d498aa1ae1
commit
9069e4c910
1 changed files with 4 additions and 2 deletions
|
@ -51,10 +51,12 @@ private:
|
|||
Val() noexcept = default;
|
||||
Val(Val const&) = delete;
|
||||
Val& operator=(Val const&) = delete;
|
||||
Val(Val&& that) noexcept {
|
||||
Val(Val&& that) noexcept
|
||||
{
|
||||
*this = std::move(that);
|
||||
}
|
||||
Val& operator=(Val&& that) noexcept {
|
||||
Val& operator=(Val&& that) noexcept
|
||||
{
|
||||
std::swap(this->fd_, that.fd_);
|
||||
std::swap(this->writable_, that.writable_);
|
||||
return *this;
|
||||
|
|
Loading…
Reference in a new issue