mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +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:
parent
86486a1735
commit
950a71ab89
14 changed files with 50 additions and 61 deletions
|
|
@ -324,7 +324,8 @@ void ParseProtoBufAsciiTest() {
|
|||
TEST_EQ(parser.Parse("{ A [1 2] C { B:2 }}"), true);
|
||||
// Similarly, in text output, it should omit these.
|
||||
std::string text;
|
||||
auto err = flatbuffers::GenerateText(
|
||||
auto err =
|
||||
flatbuffers::GenText(
|
||||
parser, parser.builder_.GetBufferPointer(), &text);
|
||||
TEST_NULL(err);
|
||||
TEST_EQ_STR(text.c_str(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue