Просмотр исходного кода

game_list: Make the constructor explicit

Lioncash 9 лет назад
Родитель
Сommit
7402001787
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/citra_qt/game_list.h

+ 1 - 1
src/citra_qt/game_list.h

@@ -25,7 +25,7 @@ public:
         COLUMN_COUNT, // Number of columns
     };
 
-    GameList(QWidget* parent = nullptr);
+    explicit GameList(QWidget* parent = nullptr);
     ~GameList() override;
 
     void PopulateAsync(const QString& dir_path, bool deep_scan);