Skip to content
Snippets Groups Projects
Commit 7beb79fd authored by Administrator's avatar Administrator
Browse files

Remove usage of std::binary_function

The usage of std::binary_function is really old legacy to define the functions
used in STL algorithms like std::sort. std::binary_function was deprecated with
C++11 and removed from C++ with C++17. Obviously it is still supported by some
compilers since compilation errors only occured with newer Apple clang versions.

Switch to the modern implementation using lambdas in the STL algorithms.
This also increase code readability since the code is located at the same place
where it is used.

The change was confirmed to not introduce changes in the output by comparing
the produced TTrees before and after the commit in all produced ROOT files.
parent 8ea06885
Branches master
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment