net-misc/rustdesk: update deps
[gentoo-zh.git] / app-i18n / mozc / files / mozc-2.23.2815.102-gcc-8.patch
blob07514048e7a4fe1bea02c7eb91df9887b83eeaa5
1 https://github.com/google/mozc/issues/441
3 --- /src/prediction/zero_query_dict.h
4 +++ /src/prediction/zero_query_dict.h
5 @@ -147,6 +147,17 @@
6 return iter;
9 + iterator &operator--() {
10 + ptr_ -= kTokenByteSize;
11 + return *this;
12 + }
14 + iterator operator--(int) {
15 + const iterator tmp(ptr_, string_array_);
16 + ptr_ -= kTokenByteSize;
17 + return tmp;
18 + }
20 iterator &operator-=(ptrdiff_t n) {
21 ptr_ -= n * kTokenByteSize;
22 return *this;