Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP2:GA
mozc
gcc-8.1-ZeroQueryDict-iterator.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc-8.1-ZeroQueryDict-iterator.patch of Package mozc
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;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor