mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
use switch statements for BASE_TYPE_ lookups (#7813)
This commit is contained in:
@@ -234,7 +234,7 @@ void FuzzTest2() {
|
||||
break;
|
||||
default:
|
||||
// All the scalar types.
|
||||
schema += flatbuffers::kTypeNames[base_type];
|
||||
schema += flatbuffers::TypeName(base_type);
|
||||
|
||||
if (!deprecated) {
|
||||
// We want each instance to use its own random value.
|
||||
|
||||
Reference in New Issue
Block a user