diff options
author | Vladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com> | 2019-07-02 01:38:21 +0700 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2019-07-01 11:38:21 -0700 |
commit | 7a63792929e2ab6edbbc2b6270a48c74e7022f96 (patch) | |
tree | 7701e36dfdaa27f591e439d2b1a62d1e9af9f2a2 /include/flatbuffers/idl.h | |
parent | 7d7d796cd09dfaed3aed5cd1f973b86f8c2d79bb (diff) | |
download | flatbuffers-7a63792929e2ab6edbbc2b6270a48c74e7022f96.tar.gz |
Remove unused variables (#5382)
- Fix GenerateTextFromTable (aliasing typo)
- Fix unused variable in idl_gen_dart.cpp
- Fix std::string passing (should be non-const value or const-reference)
- Remove unused variables
Diffstat (limited to 'include/flatbuffers/idl.h')
-rw-r--r-- | include/flatbuffers/idl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/flatbuffers/idl.h b/include/flatbuffers/idl.h index 48dda408..2ec53919 100644 --- a/include/flatbuffers/idl.h +++ b/include/flatbuffers/idl.h @@ -790,7 +790,7 @@ class Parser : public ParserState { StructDef *LookupStruct(const std::string &id) const; - std::string UnqualifiedName(std::string fullQualifiedName); + std::string UnqualifiedName(const std::string &fullQualifiedName); FLATBUFFERS_CHECKED_ERROR Error(const std::string &msg); |