diff --git a/include/rfl/flatbuf/Writer.hpp b/include/rfl/flatbuf/Writer.hpp index 791e0acd..d4c1b2d9 100644 --- a/include/rfl/flatbuf/Writer.hpp +++ b/include/rfl/flatbuf/Writer.hpp @@ -24,27 +24,32 @@ #include "../internal/is_literal.hpp" #include "../internal/ptr_cast.hpp" #include "calc_vtable_offset.hpp" +#include "schema/Type.hpp" namespace rfl::flatbuf { class Writer { public: struct FlatbufOutputArray { + schema::Type::Vector* schema_; flatbuffers::uoffset_t offset_ = 0; size_t ix_ = 0; }; struct FlatbufOutputMap { + schema::Type::Map* schema_; flatbuffers::uoffset_t offset_ = 0; size_t ix_ = 0; }; struct FlatbufOutputObject { + schema::Type::Table* schema_; flatbuffers::uoffset_t offset_ = 0; size_t ix_ = 0; }; struct FlatbufOutputUnion { + schema::Type::Table* schema_; flatbuffers::uoffset_t offset_ = 0; };