Fix some warnings

This commit is contained in:
Megamouse 2023-12-13 21:45:42 +01:00
parent 24dbec71f8
commit a4bcba8971
2 changed files with 2 additions and 2 deletions

View file

@ -1252,7 +1252,7 @@ void debugger_frame::PerformGoToRequest(const QString& text_argument)
{
if (auto cpu = get_cpu())
{
if (auto ppu = cpu->try_get<ppu_thread>())
if (cpu->try_get<ppu_thread>())
{
const vm::ptr<u32> func_ptr = vm::cast(static_cast<u32>(address));

View file

@ -2284,7 +2284,7 @@ void main_window::ShowOptionalGamePreparations(const QString& title, const QStri
vlayout->addWidget(btn_box);
dlg->setLayout(vlayout);
connect(btn_box, &QDialogButtonBox::accepted, this, [=, paths = std::move(bootable_paths)]()
connect(btn_box, &QDialogButtonBox::accepted, this, [=, this, paths = std::move(bootable_paths)]()
{
const bool create_desktop_shortcuts = desk_check->isChecked();
const bool create_app_shortcut = quick_check->isChecked();