mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-22 22:48:52 +00:00
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
13c9c674fd
commit
2e865f4d4e
@@ -57,7 +57,7 @@ FLATBUFFERS_MANUALLY_ALIGNED_STRUCT(4) StructInNestedNS FLATBUFFERS_FINAL_CLASS
|
||||
|
||||
public:
|
||||
StructInNestedNS() {
|
||||
memset(this, 0, sizeof(StructInNestedNS));
|
||||
memset(static_cast<void *>(this), 0, sizeof(StructInNestedNS));
|
||||
}
|
||||
StructInNestedNS(int32_t _a, int32_t _b)
|
||||
: a_(flatbuffers::EndianScalar(_a)),
|
||||
|
||||
Reference in New Issue
Block a user