451800869 / cpp-btree

Automatically exported from code.google.com/p/cpp-btree
Apache License 2.0
0 stars 0 forks source link

Typo in the comparator constructor code #25

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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