Skip to content

Commit

Permalink
fix signature
Browse files Browse the repository at this point in the history
  • Loading branch information
TH3CHARLie committed Oct 5, 2023
1 parent 441bce4 commit a538bc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Serialization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class Serializer {

Offset<Serialize::ExternFuncArgument> serialize_extern_func_argument(FlatBufferBuilder &builder, const ExternFuncArgument &extern_func_argument);

Offset<Serialize::Buffer> serialize_buffer(FlatBufferBuilder &builder, Buffer<> &buffer);
Offset<Serialize::Buffer> serialize_buffer(FlatBufferBuilder &builder, Buffer<> buffer);

std::vector<Offset<Serialize::WrapperRef>> serialize_wrapper_refs(FlatBufferBuilder &builder, const std::map<std::string, FunctionPtr> &wrappers);

Expand Down Expand Up @@ -1352,7 +1352,7 @@ Offset<Serialize::ExternFuncArgument> Serializer::serialize_extern_func_argument
}
}

Offset<Serialize::Buffer> Serializer::serialize_buffer(FlatBufferBuilder &builder, Buffer<> &buffer) {
Offset<Serialize::Buffer> Serializer::serialize_buffer(FlatBufferBuilder &builder, Buffer<> buffer) {
if (!buffer.defined()) {
return Serialize::CreateBuffer(builder, false);
}
Expand Down

0 comments on commit a538bc0

Please sign in to comment.