airekans/cpp-btree

Typo in the comparator constructor code

Opened this issue · 0 comments

Line 435: 
struct btree_binary_search_compare_to {
    static int lower_bound(const K &k, const N &n, CompareTo comp)  {
        return n.binary_search_compare_to(k, 0, n.count(), CompareTo());
    }
...
}

Should just pass comparator instance "comp" instead.

Original issue reported on code.google.com by xinji...@gmail.com on 6 Apr 2015 at 6:47