diff options
author | Peng Wu <alexepico@gmail.com> | 2016-06-13 15:31:54 +0800 |
---|---|---|
committer | Peng Wu <alexepico@gmail.com> | 2016-06-13 15:31:54 +0800 |
commit | 3b07d6126db7834386bf1aab160a3642340730ef (patch) | |
tree | 09c5ab1936d887220d44a8c241035771f9db9366 /src/storage | |
parent | 5e45e62467c4d55a724c6c9058653a88fe61f21c (diff) | |
download | libpinyin-3b07d6126db7834386bf1aab160a3642340730ef.tar.gz libpinyin-3b07d6126db7834386bf1aab160a3642340730ef.tar.xz libpinyin-3b07d6126db7834386bf1aab160a3642340730ef.zip |
fixes compile
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/chewing_key.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/storage/chewing_key.h b/src/storage/chewing_key.h index d6bcc19..3229cae 100644 --- a/src/storage/chewing_key.h +++ b/src/storage/chewing_key.h @@ -87,6 +87,10 @@ static inline bool operator == (ChewingKey lhs, ChewingKey rhs) { return true; } +static inline bool operator != (ChewingKey lhs, ChewingKey rhs) { + return !(lhs == rhs); +} + struct _ChewingKeyRest { /* Note: the table index is removed, |