Removed assert that wasn't backwards compatible.

Change-Id: I8e74d6fddf91fe955fffc572af9d671160325731
This commit is contained in:
Wouter van Oortmerssen 2020-03-05 17:20:51 -08:00
parent 7c37abe92d
commit f73d205bc7
1 changed files with 1 additions and 2 deletions

View File

@ -411,7 +411,6 @@ struct EnumDef : public Definition {
size_t size() const { return vals.vec.size(); }
const std::vector<EnumVal *> &Vals() const {
FLATBUFFERS_ASSERT(false == vals.vec.empty());
return vals.vec;
}