Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

qt/game_list_p: Remove redundant base class constructor invocations

Lioncash56cde6039379
diff --git a/src/yuzu/game_list_p.h b/src/yuzu/game_list_p.h
index 2ded0ce06d..aa69a098f0 100644
--- a/src/yuzu/game_list_p.h
+++ b/src/yuzu/game_list_p.h
@@ -5,6 +5,7 @@
#pragma once
#include <atomic>
+#include <utility>
#include <QImage>
#include <QRunnable>
#include <QStandardItem>
@@ -109,7 +110,7 @@ class GameListWorker : public QObject, public QRunnable {
public:
GameListWorker(QString dir_path, bool deep_scan)
- : QObject(), QRunnable(), dir_path(dir_path), deep_scan(deep_scan) {}
+ : dir_path(std::move(dir_path)), deep_scan(deep_scan) {}
public slots:
/// Starts the processing of directory tree information.