mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix methods return type ampersand location (NFC)
This commit is contained in:
@@ -21,13 +21,13 @@
|
||||
namespace swift {
|
||||
/// Returns the minimum of `a` and `b`, or `a` if they are equivalent.
|
||||
template <typename T>
|
||||
constexpr const T& min(const T &a, const T &b) {
|
||||
constexpr const T &min(const T &a, const T &b) {
|
||||
return !(b < a) ? a : b;
|
||||
}
|
||||
|
||||
/// Returns the maximum of `a` and `b`, or `a` if they are equivalent.
|
||||
template <typename T>
|
||||
constexpr const T& max(const T &a, const T &b) {
|
||||
constexpr const T &max(const T &a, const T &b) {
|
||||
return (a < b) ? b : a;
|
||||
}
|
||||
} // end namespace swift
|
||||
|
||||
Reference in New Issue
Block a user