Skip to content
  • Ingo Klöcker's avatar
    Replace all usages of the deprecated qBinaryFind · 37cf8836
    Ingo Klöcker authored
    Where possible qBinaryFind is replaced with std::binary_search. All
    other occurrences are replaced with a custom replacement.
    
    I think using this replacement is much more convenient and results
    in better readable and less errorprone code than replacing all usages of
    qBinaryFind with std::lower_bound() and the necessary additional check
    of the resulting iterator, in particular if a lambda expression is used
    as custom comparison function.
    37cf8836