mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 20:15:34 +00:00
Ran clang-format-all.sh. Removed default --style=file parameter (#6639)
* Ran clang-format-all.sh. Removed default --style=file parameter * Moved scripts to scripts/ location
This commit is contained in:
@@ -1009,10 +1009,9 @@ class CppGenerator : public BaseGenerator {
|
||||
? bt - BASE_TYPE_UTYPE + ET_UTYPE
|
||||
: ET_SEQUENCE;
|
||||
int ref_idx = -1;
|
||||
std::string ref_name =
|
||||
type.struct_def
|
||||
? WrapInNameSpace(*type.struct_def)
|
||||
: type.enum_def ? WrapInNameSpace(*type.enum_def) : "";
|
||||
std::string ref_name = type.struct_def ? WrapInNameSpace(*type.struct_def)
|
||||
: type.enum_def ? WrapInNameSpace(*type.enum_def)
|
||||
: "";
|
||||
if (!ref_name.empty()) {
|
||||
auto rit = type_refs.begin();
|
||||
for (; rit != type_refs.end(); ++rit) {
|
||||
|
||||
Reference in New Issue
Block a user