[NFC][StackSafety] Change map key comparison

This commit is contained in:
Vitaly Buka 2020-08-14 04:23:15 -07:00
parent 0426e28419
commit 4c30d4b4e5
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ template <typename CalleeTy> struct CallInfo {
struct Less {
bool operator()(const CallInfo &L, const CallInfo &R) const {
return std::tie(L.Callee, L.ParamNo) < std::tie(R.Callee, R.ParamNo);
return std::tie(L.ParamNo, L.Callee) < std::tie(R.ParamNo, R.Callee);
}
};
};