C++ verifier for evolved union fields should return true (#5586)

This commit is contained in:
Derek Bailey
2019-10-28 09:43:33 -07:00
committed by Wouter van Oortmerssen
parent 8d5e424c65
commit 480815447a
4 changed files with 6 additions and 6 deletions

View File

@@ -563,7 +563,7 @@ inline bool VerifyCharacter(flatbuffers::Verifier &verifier, const void *obj, Ch
auto ptr = reinterpret_cast<const flatbuffers::String *>(obj);
return verifier.VerifyString(ptr);
}
default: return false;
default: return true;
}
}