This commit is contained in:
Nekotekina 2015-10-16 03:25:39 +03:00
parent b3db9255e4
commit 77bf86eaa5
2 changed files with 10 additions and 10 deletions

View file

@ -164,8 +164,8 @@ namespace fs
dir& operator =(dir&& right)
{
m_dd = right.m_dd;
m_path = std::move(right.m_path);
std::swap(m_dd, right.m_dd);
std::swap(m_path, right.m_path);
return *this;
}