mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +00:00
run scripts/clang-format-all.sh
This commit is contained in:
parent
c2f764c22b
commit
86486a1735
21 changed files with 115 additions and 101 deletions
|
|
@ -15,8 +15,7 @@ class TestHeapBuilder : public FlatBufferBuilder {
|
|||
TestHeapBuilder &operator=(const TestHeapBuilder &);
|
||||
|
||||
public:
|
||||
TestHeapBuilder()
|
||||
: FlatBufferBuilder(2048, new OwnedAllocator(), true) {}
|
||||
TestHeapBuilder() : FlatBufferBuilder(2048, new OwnedAllocator(), true) {}
|
||||
|
||||
TestHeapBuilder(TestHeapBuilder &&other)
|
||||
: FlatBufferBuilder(std::move(other)) {}
|
||||
|
|
@ -144,7 +143,7 @@ void FlatBufferBuilderTest() {
|
|||
}
|
||||
|
||||
// forward-declared in test_builder.h
|
||||
void CheckTestGeneratedIsValid(const MyGame::Example::Color&);
|
||||
void CheckTestGeneratedIsValid(const MyGame::Example::Color &);
|
||||
|
||||
// Link-time check using pointer type.
|
||||
void CheckTestGeneratedIsValid(const MyGame::Example::Color &) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue