mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-04 04:33:23 +00:00
fixed bfbs gen to pass extra options (#7949)
This commit is contained in:
@@ -940,7 +940,7 @@ class PhpGenerator : public BaseGenerator {
|
||||
} // namespace php
|
||||
|
||||
static bool GeneratePhp(const Parser &parser, const std::string &path,
|
||||
const std::string &file_name) {
|
||||
const std::string &file_name) {
|
||||
php::PhpGenerator generator(parser, path, file_name);
|
||||
return generator.generate();
|
||||
}
|
||||
@@ -955,9 +955,8 @@ class PhpCodeGenerator : public CodeGenerator {
|
||||
return Status::OK;
|
||||
}
|
||||
|
||||
Status GenerateCode(const uint8_t *buffer, int64_t length) override {
|
||||
(void)buffer;
|
||||
(void)length;
|
||||
Status GenerateCode(const uint8_t *, int64_t,
|
||||
const CodeGenOptions &) override {
|
||||
return Status::NOT_IMPLEMENTED;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user