kcpolydb.h   kcpolydb.h 
skipping to change at line 1594 skipping to change at line 1594
private: private:
std::ostream* strm_; ///< output stream std::ostream* strm_; ///< output stream
std::string prefix_; ///< prefix of each message std::string prefix_; ///< prefix of each message
}; };
/** /**
* Key for similarity search. * Key for similarity search.
*/ */
struct SimilarKey { struct SimilarKey {
size_t dist; size_t dist;
std::string key; std::string key;
uint32_t order; int64_t order;
bool operator <(const SimilarKey& right) const { bool operator <(const SimilarKey& right) const {
if (dist != right.dist) return dist < right.dist; if (dist != right.dist) return dist < right.dist;
if (key != right.key) return key < right.key; if (key != right.key) return key < right.key;
return order < right.order; return order < right.order;
} }
bool less(size_t rdist, const std::string& rkey, uint32_t rorder) const { bool less(size_t rdist, const std::string& rkey, uint32_t rorder) const {
if (dist != rdist) return dist < rdist; if (dist != rdist) return dist < rdist;
if (key != rkey) return key < rkey; if (key != rkey) return key < rkey;
return order < rorder; return order < rorder;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/