Fix compilation

This commit is contained in:
Jérôme Leclercq 2019-03-20 17:18:45 +01:00
parent 853e01c192
commit ffc58e9806
2 changed files with 6 additions and 3 deletions

View File

@ -21,7 +21,9 @@ namespace Nz
{
public:
GuillotineImageAtlas();
virtual ~GuillotineImageAtlas();
GuillotineImageAtlas(const GuillotineImageAtlas&) = delete;
GuillotineImageAtlas(GuillotineImageAtlas&&) noexcept = default;
~GuillotineImageAtlas() = default;
void Clear() override;
@ -38,6 +40,9 @@ namespace Nz
void SetRectChoiceHeuristic(GuillotineBinPack::FreeRectChoiceHeuristic heuristic);
void SetRectSplitHeuristic(GuillotineBinPack::GuillotineSplitHeuristic heuristic);
GuillotineImageAtlas& operator=(const GuillotineImageAtlas&) = delete;
GuillotineImageAtlas& operator=(GuillotineImageAtlas&&) noexcept = default;
protected:
struct Layer;

View File

@ -19,8 +19,6 @@ namespace Nz
{
}
GuillotineImageAtlas::~GuillotineImageAtlas() = default;
void GuillotineImageAtlas::Clear()
{
m_layers.clear();