summaryrefslogtreecommitdiff
path: root/src/idl_gen_php.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/idl_gen_php.cpp')
-rw-r--r--src/idl_gen_php.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/idl_gen_php.cpp b/src/idl_gen_php.cpp
index 6d1e3d15..1a6b9ec5 100644
--- a/src/idl_gen_php.cpp
+++ b/src/idl_gen_php.cpp
@@ -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;
}