diff options
Diffstat (limited to 'samples')
-rwxr-xr-x | samples/sample_text.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/samples/sample_text.cpp b/samples/sample_text.cpp index b1b7527c..33cb58e1 100755 --- a/samples/sample_text.cpp +++ b/samples/sample_text.cpp @@ -37,8 +37,8 @@ int main(int /*argc*/, const char * /*argv*/[]) { // parse schema first, so we can use it to parse the data after flatbuffers::Parser parser; - ok = parser.Parse(schemafile.c_str()) && - parser.Parse(jsonfile.c_str()); + ok = parser.Parse(schemafile.c_str(), "samples/") && + parser.Parse(jsonfile.c_str(), "samples/"); assert(ok); // here, parser.builder_ contains a binary buffer that is the parsed data. |