mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-02 02:43:57 +00:00
[C++] Use nullptr instead of 0 in generated headers (#6762)
This commit is contained in:
@@ -312,7 +312,7 @@ struct ArrayTableBuilder {
|
||||
|
||||
inline flatbuffers::Offset<ArrayTable> CreateArrayTable(
|
||||
flatbuffers::FlatBufferBuilder &_fbb,
|
||||
const MyGame::Example::ArrayStruct *a = 0) {
|
||||
const MyGame::Example::ArrayStruct *a = nullptr) {
|
||||
ArrayTableBuilder builder_(_fbb);
|
||||
builder_.add_a(a);
|
||||
return builder_.Finish();
|
||||
|
||||
Reference in New Issue
Block a user