Added a virtual destructor to sf::Transformable

This commit is contained in:
Laurent Gomila 2011-12-19 17:50:15 +01:00
parent 78e1e8732b
commit bc95d855b3
2 changed files with 12 additions and 0 deletions

View File

@ -47,6 +47,12 @@ public :
////////////////////////////////////////////////////////////
Transformable();
////////////////////////////////////////////////////////////
/// \brief Virtual destructor
///
////////////////////////////////////////////////////////////
virtual ~Transformable();
////////////////////////////////////////////////////////////
/// \brief Set the position of the object
///

View File

@ -45,6 +45,12 @@ myInverseTransformNeedUpdate(true)
}
////////////////////////////////////////////////////////////
Transformable::~Transformable()
{
}
////////////////////////////////////////////////////////////
void Transformable::SetPosition(float x, float y)
{