App: fix crash on copy of Enumeration
This commit is contained in:
@@ -38,6 +38,7 @@ Enumeration::Enumeration()
|
||||
}
|
||||
|
||||
Enumeration::Enumeration(const Enumeration &other)
|
||||
: _EnumArray(NULL), _ownEnumArray(false), _index(0), _maxVal(-1)
|
||||
{
|
||||
if (other._ownEnumArray) {
|
||||
setEnums(other.getEnumVector());
|
||||
|
||||
Reference in New Issue
Block a user