1
0
Fork 0

update doc for comparator usage

This commit is contained in:
Jan Christoph Uhde 2017-04-04 14:11:30 +02:00
parent 046b768553
commit 358793c804
1 changed files with 3 additions and 3 deletions

View File

@ -42,9 +42,9 @@ class RocksDBComparator final : public rocksdb::Comparator {
//////////////////////////////////////////////////////////////////////////////
/// @brief Compares any two RocksDB keys.
/// returns -1 if lhs < rhs
/// 1 if lhs > rhs
/// 0 if lhs == rhs
/// returns < 0 if lhs < rhs
/// > 0 if lhs > rhs
/// 0 if lhs == rhs
//////////////////////////////////////////////////////////////////////////////
int Compare(rocksdb::Slice const& lhs, rocksdb::Slice const& rhs) const;