memory leak fixes.

This commit is contained in:
rachytski 2011-09-28 20:29:01 +03:00 committed by Alex Zolotarev
parent b128666a04
commit e439297888
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,9 @@
namespace yg
{
OverlayElement::~OverlayElement()
{}
OverlayElement::Params::Params()
: m_pivot(), m_position(yg::EPosAboveRight), m_depth(yg::maxDepth)
{}

View file

@ -45,6 +45,7 @@ namespace yg
};
OverlayElement(Params const & p);
virtual ~OverlayElement();
virtual OverlayElement * clone(math::Matrix<double, 3, 3> const & m) const = 0;