diff options
Diffstat (limited to 'src/idl_gen_js_ts.cpp')
-rw-r--r-- | src/idl_gen_js_ts.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/idl_gen_js_ts.cpp b/src/idl_gen_js_ts.cpp index cd59f4a1..9c89c1ab 100644 --- a/src/idl_gen_js_ts.cpp +++ b/src/idl_gen_js_ts.cpp @@ -214,7 +214,7 @@ class JsTsGenerator : public BaseGenerator { std::string &code = *code_ptr; std::string &exports = *exports_ptr; for (auto it = sorted_namespaces.begin(); it != sorted_namespaces.end(); - it++) { + ++it) { if (lang_.language == IDLOptions::kTs) { if (it->find('.') == std::string::npos) { code += "import { flatbuffers } from \"./flatbuffers\"\n"; |