Explorar o código

yuzu/bootmanager: Resolve constructor initializer list warnings

Resolves -Wreorder warnings. These will automatically be initialized to
nullptr anyways, so these were redundant.
Lioncash %!s(int64=7) %!d(string=hai) anos
pai
achega
fbfc347351
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/yuzu/bootmanager.cpp

+ 1 - 2
src/yuzu/bootmanager.cpp

@@ -186,8 +186,7 @@ private:
 };
 
 GRenderWindow::GRenderWindow(QWidget* parent, EmuThread* emu_thread)
-    : QWidget(parent), child(nullptr), context(nullptr), emu_thread(emu_thread) {
-
+    : QWidget(parent), emu_thread(emu_thread) {
     setWindowTitle(QStringLiteral("yuzu %1 | %2-%3")
                        .arg(Common::g_build_name, Common::g_scm_branch, Common::g_scm_desc));
     setAttribute(Qt::WA_AcceptTouchEvents);