diff --git a/Source/Project64/UserInterface/Debugger/Breakpoints.cpp b/Source/Project64/UserInterface/Debugger/Breakpoints.cpp index 119b317db..87fe9ce43 100644 --- a/Source/Project64/UserInterface/Debugger/Breakpoints.cpp +++ b/Source/Project64/UserInterface/Debugger/Breakpoints.cpp @@ -54,11 +54,7 @@ bool CBreakpoints::WBPAdd(uint32_t address) bool CBreakpoints::AddExecution(uint32_t address, bool bTemporary) { PreUpdateBP(); -#if _MSC_VER >= 1920 // Visual Studio 2019 deprecates _Pairib - auto res = m_Execution.insert(breakpoint_t::value_type(address, bTemporary)); -#else - breakpoints_t::_Pairib res = m_Execution.insert(breakpoint_t::value_type(address, bTemporary)); -#endif // _MSC_VER + std::pair res = m_Execution.insert(breakpoint_t::value_type(address, bTemporary)); if (!res.second && !bTemporary) { diff --git a/Source/SortRdb/main.cpp b/Source/SortRdb/main.cpp index ea25495c7..0472cf954 100644 --- a/Source/SortRdb/main.cpp +++ b/Source/SortRdb/main.cpp @@ -245,13 +245,13 @@ int main (int argc, char *argv[]) items.push_back(Section); if (PDNames.find(GoodName) == PDNames.end()) { - strmap::_Pairib res = GoodNameSections.insert(strmap::value_type(GoodName,items)); + std::pair res = GoodNameSections.insert(strmap::value_type(GoodName,items)); if (!res.second) { res.first->second.push_back(Section); } } else { - strmap::_Pairib res = PDNameSections.insert(strmap::value_type(GoodName,items)); + std::pair res = PDNameSections.insert(strmap::value_type(GoodName,items)); if (!res.second) { res.first->second.push_back(Section);