forked from enlightenment/efl
eolian-cxx: Fixed assert which was a tautology
Fixed the assert to the correct check @fix CID 1316018
This commit is contained in:
parent
4a92415d12
commit
13606c4647
|
@ -71,10 +71,10 @@ eo_class_validate(const eo_class& cls)
|
|||
{
|
||||
// class name and type
|
||||
_validate(cls.name, cls);
|
||||
assert(cls.type != eo_class::regular_ ||
|
||||
cls.type != eo_class::regular_noninst_ ||
|
||||
cls.type != eo_class::interface_ ||
|
||||
cls.type != eo_class::mixin_);
|
||||
assert(cls.type == eo_class::regular_ ||
|
||||
cls.type == eo_class::regular_noninst_ ||
|
||||
cls.type == eo_class::interface_ ||
|
||||
cls.type == eo_class::mixin_);
|
||||
|
||||
// constructors
|
||||
for (auto it = cls.constructors.cbegin(), last = cls.constructors.cend();
|
||||
|
|
Loading…
Reference in New Issue