summaryrefslogtreecommitdiffstats
path: root/src/storage/chewing_key.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/storage/chewing_key.h')
-rw-r--r--src/storage/chewing_key.h4
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,