diff options
Diffstat (limited to 'util/generic/algorithm.h')
-rw-r--r-- | util/generic/algorithm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/generic/algorithm.h b/util/generic/algorithm.h index 70efc50609..bf32a19643 100644 --- a/util/generic/algorithm.h +++ b/util/generic/algorithm.h @@ -780,7 +780,7 @@ constexpr TO CopyIf(TI begin, TI end, TO to, P pred) { } template <class T> -constexpr std::pair<const T&, const T&> MinMax(const T& first, const T& second) { +constexpr std::pair<const T&, const T&> MinMax(const T& first Y_LIFETIME_BOUND, const T& second Y_LIFETIME_BOUND) { return std::minmax(first, second); } |