mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-30 08:40:00 +00:00
Apply Namer prefix/suffix to other generators (#7197)
* Apply Namer prefix/suffix to other generators * unnecessary .name Co-authored-by: Casper Neo <cneo@google.com>
This commit is contained in:
@@ -57,6 +57,9 @@ class IdlNamer : public Namer {
|
||||
std::string Method(const FieldDef &d, const std::string &suffix) const {
|
||||
return Method(d.name, suffix);
|
||||
}
|
||||
std::string Method(const std::string &prefix, const StructDef &d) const {
|
||||
return Method(prefix, d.name);
|
||||
}
|
||||
std::string Method(const std::string &prefix, const FieldDef &d) const {
|
||||
return Method(prefix, d.name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user