Skip to content

Replace std::max_element with boost::first_max_element.

Stuart Berg requested to merge (removed):avoid-std-max_element into master

This PR contains the patch I needed to compile graph-tool using conda-forge's clang package, clangxx_osx-64. See #576 (closed) for more details.

Note that this PR might be overkill: I replaced every usage of std::max_element with boost::first_max_element. Perhaps some of them might not have triggered the compile error.

Merge request reports

Loading