summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/storage/pinyin_phrase3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/storage/pinyin_phrase3.h b/src/storage/pinyin_phrase3.h
index 800d409..76e8a04 100644
--- a/src/storage/pinyin_phrase3.h
+++ b/src/storage/pinyin_phrase3.h
@@ -26,6 +26,9 @@
#include "chewing_key.h"
#include <assert.h>
+/* All compare function should be symmetric for the lhs and rhs operands.
+ URL: http://en.cppreference.com/w/cpp/algorithm/equal_range . */
+
namespace pinyin{
inline int pinyin_exact_compare2(const ChewingKey * key_lhs,