aboutsummaryrefslogtreecommitdiff
path: root/ports/flatbuffers/fix-issue-6036.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/flatbuffers/fix-issue-6036.patch')
-rw-r--r--ports/flatbuffers/fix-issue-6036.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/ports/flatbuffers/fix-issue-6036.patch b/ports/flatbuffers/fix-issue-6036.patch
deleted file mode 100644
index 872b73e6f..000000000
--- a/ports/flatbuffers/fix-issue-6036.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/include/flatbuffers/flatbuffers.h b/include/flatbuffers/flatbuffers.h
-index c4dc5bc..c090455 100644
---- a/include/flatbuffers/flatbuffers.h
-+++ b/include/flatbuffers/flatbuffers.h
-@@ -1861,14 +1861,14 @@ class FlatBufferBuilder {
-
- /// @cond FLATBUFFERS_INTERNAL
- template<typename T> struct TableKeyComparator {
-- TableKeyComparator(vector_downward &buf) : buf_(buf) {}
-+ TableKeyComparator(vector_downward &buf) : buf_(&buf) {}
- TableKeyComparator(const TableKeyComparator &other) : buf_(other.buf_) {}
- bool operator()(const Offset<T> &a, const Offset<T> &b) const {
-- auto table_a = reinterpret_cast<T *>(buf_.data_at(a.o));
-- auto table_b = reinterpret_cast<T *>(buf_.data_at(b.o));
-+ auto table_a = reinterpret_cast<T *>(buf_->data_at(a.o));
-+ auto table_b = reinterpret_cast<T *>(buf_->data_at(b.o));
- return table_a->KeyCompareLessThan(table_b);
- }
-- vector_downward &buf_;
-+ vector_downward *buf_;
-
- private:
- TableKeyComparator &operator=(const TableKeyComparator &other) {