mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 19:44:57 +00:00
Hopefully kill a stupid warning on Windows.
This commit is contained in:
parent
b7fae1febb
commit
f3e91bc10d
2 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue