mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 12:43:24 +00:00
Rename GenerateText
to make it a compile-time breaking change, to alert any users to the new meaning of the return value
This commit is contained in:
@@ -273,8 +273,7 @@ void FuzzTest2() {
|
||||
|
||||
std::string jsongen;
|
||||
parser.opts.indent_step = 0;
|
||||
auto result =
|
||||
GenerateText(parser, parser.builder_.GetBufferPointer(), &jsongen);
|
||||
auto result = GenText(parser, parser.builder_.GetBufferPointer(), &jsongen);
|
||||
TEST_NULL(result);
|
||||
|
||||
if (jsongen != json) {
|
||||
|
||||
Reference in New Issue
Block a user