mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Replace Hand-Rolled MAX/MIN with std::max/std::min
We're using C++ 14+ at least now across the project so these should not be necessary. It's also kind of wild that the definitions we had across different subsystems had different definitions.
This commit is contained in:
@@ -13,8 +13,6 @@
|
||||
// on live swift executables.
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
#define MIN(a,b) (((a)<(b))?(a):(b))
|
||||
#define MAX(a,b) (((a)>(b))?(a):(b))
|
||||
#define SECTIONS_PER_INFO 6
|
||||
|
||||
#include "swift/SwiftRemoteMirror/SwiftRemoteMirror.h"
|
||||
|
||||
Reference in New Issue
Block a user