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:
Robert Widmann
2025-01-22 11:18:35 -07:00
parent 5d0fe0a156
commit 0f94164d3b
3 changed files with 4 additions and 10 deletions

View File

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