Hopefully kill a stupid warning on Windows.
This commit is contained in:
parent
b7fae1febb
commit
f3e91bc10d
|
@ -781,9 +781,9 @@ IOFile::IOFile(IOFile&& other)
|
|||
Swap(other);
|
||||
}
|
||||
|
||||
IOFile& IOFile::operator=(IOFile other)
|
||||
IOFile& IOFile::operator=(IOFile&& other)
|
||||
{
|
||||
Swap(other);
|
||||
IOFile(std::move(other)).Swap(*this);
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
|
@ -160,7 +160,7 @@ public:
|
|||
~IOFile();
|
||||
|
||||
IOFile(IOFile&& other);
|
||||
IOFile& operator=(IOFile other);
|
||||
IOFile& operator=(IOFile&& other);
|
||||
|
||||
void Swap(IOFile& other);
|
||||
|
||||
|
|
Loading…
Reference in New Issue