Fix methods return type ampersand location (NFC)

This commit is contained in:
danra
2016-03-30 00:19:33 +03:00
parent 12593eff13
commit 0c84db9507

View File

@@ -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