delete copy constructor and assignment operator of some internal classes

they are unused, but if anyone would use them things would go wrong, so protect us from it
This commit is contained in:
Albert Astals Cid 2019-01-13 22:30:55 +01:00
parent 8803ae9cd6
commit b8cb5e322c

View File

@ -112,6 +112,9 @@ private:
{
delete[] name;
}
Layer(const Layer &) = delete;
Layer &operator=(const Layer &) = delete;
};
/*!