Skip to content
Commit aa1cad15 authored by Eric Fiselier's avatar Eric Fiselier
Browse files

Cleanup how debug comparators are created in <algorithm>

Instead of having an `#if` block in every algorithm using a debug
comparator, this patch introduces the __comp_ref_type trait that
selects __debug_less in debug mode and _Comp& otherwise.

This patch should have no observable functionality change.

llvm-svn: 358252
parent 21229578
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment