mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 14:37:08 +00:00
Fix std::basic_string warnings (#16261)
This commit is contained in:
parent
2262ac1684
commit
2b0f786b2d
22 changed files with 147 additions and 130 deletions
|
|
@ -31,7 +31,8 @@
|
|||
#include <QTimer>
|
||||
#include <QCheckBox>
|
||||
#include <QMessageBox>
|
||||
#include <charconv>
|
||||
#include <algorithm>
|
||||
#include <functional>
|
||||
|
||||
#include "util/asm.hpp"
|
||||
|
||||
|
|
@ -753,8 +754,8 @@ void debugger_frame::keyPressEvent(QKeyEvent* event)
|
|||
default: break;
|
||||
}
|
||||
|
||||
if (const usz pos = std::basic_string_view<u32>(res.data(), 2).find_last_not_of(umax); pos != umax)
|
||||
m_debugger_list->ShowAddress(res[pos] - std::max(row, 0) * 4, true);
|
||||
if (auto it = std::find_if(res.rbegin(), res.rend(), FN(x != umax)); it != res.rend())
|
||||
m_debugger_list->ShowAddress(*it - std::max(row, 0) * 4, true);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue