Skip to content

Commit 0c84db9

Browse files
committed
Fix methods return type ampersand location (NFC)
1 parent 12593ef commit 0c84db9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Basic/Algorithm.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121
namespace swift {
2222
/// Returns the minimum of `a` and `b`, or `a` if they are equivalent.
2323
template <typename T>
24-
constexpr const T& min(const T &a, const T &b) {
24+
constexpr const T &min(const T &a, const T &b) {
2525
return !(b < a) ? a : b;
2626
}
2727

2828
/// Returns the maximum of `a` and `b`, or `a` if they are equivalent.
2929
template <typename T>
30-
constexpr const T& max(const T &a, const T &b) {
30+
constexpr const T &max(const T &a, const T &b) {
3131
return (a < b) ? b : a;
3232
}
3333
} // end namespace swift

0 commit comments

Comments
 (0)