diff --git a/src/SFML/Graphics/Font.cpp b/src/SFML/Graphics/Font.cpp index 6441b891..5d7c2477 100644 --- a/src/SFML/Graphics/Font.cpp +++ b/src/SFML/Graphics/Font.cpp @@ -239,6 +239,7 @@ Font& Font::operator =(const Font& right) std::swap(myPages, temp.myPages); std::swap(myPixelBuffer, temp.myPixelBuffer); std::swap(myCurrentSize, temp.myCurrentSize); + std::swap(myRefCount, temp.myRefCount); return *this; }