summarylogtreecommitdiffstats
path: root/fix-for-gcc81.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix-for-gcc81.patch')
-rw-r--r--fix-for-gcc81.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/fix-for-gcc81.patch b/fix-for-gcc81.patch
deleted file mode 100644
index e47336dc21ca..000000000000
--- a/fix-for-gcc81.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/src/prediction/zero_query_dict.h b/src/prediction/zero_query_dict.h
-index c11aa24d..4eece4eb 100644
---- a/src/prediction/zero_query_dict.h
-+++ b/src/prediction/zero_query_dict.h
-@@ -132,6 +132,17 @@ class ZeroQueryDict {
- return tmp;
- }
-
-+ iterator &operator--() {
-+ ptr_ -= kTokenByteSize;
-+ return *this;
-+ }
-+
-+ iterator operator--(int) {
-+ const iterator tmp(ptr_, string_array_);
-+ ptr_ -= kTokenByteSize;
-+ return tmp;
-+ }
-+
- iterator &operator+=(ptrdiff_t n) {
- ptr_ += n * kTokenByteSize;
- return *this;