Fixed forgotten members in sf::Font::operator=

This commit is contained in:
Jan Haller 2014-02-15 18:37:35 +01:00
parent 52661339de
commit 83ea194f07

View File

@ -345,9 +345,11 @@ Font& Font::operator =(const Font& right)
std::swap(m_library, temp.m_library); std::swap(m_library, temp.m_library);
std::swap(m_face, temp.m_face); std::swap(m_face, temp.m_face);
std::swap(m_streamRec, temp.m_streamRec);
std::swap(m_refCount, temp.m_refCount);
std::swap(m_info, temp.m_info);
std::swap(m_pages, temp.m_pages); std::swap(m_pages, temp.m_pages);
std::swap(m_pixelBuffer, temp.m_pixelBuffer); std::swap(m_pixelBuffer, temp.m_pixelBuffer);
std::swap(m_refCount, temp.m_refCount);
return *this; return *this;
} }