mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-12-18 00:35:17 +00:00
main: Add missing make_unique for ui
This commit is contained in:
parent
aef3ae1cb9
commit
d4c79a0404
|
@ -192,7 +192,7 @@ static void RemoveCachedContents() {
|
||||||
}
|
}
|
||||||
|
|
||||||
GMainWindow::GMainWindow()
|
GMainWindow::GMainWindow()
|
||||||
: system{std::make_unique<Core::System>()},
|
: ui{std::make_unique<Ui::MainWindow>()}, system{std::make_unique<Core::System>()},
|
||||||
input_subsystem{std::make_shared<InputCommon::InputSubsystem>()},
|
input_subsystem{std::make_shared<InputCommon::InputSubsystem>()},
|
||||||
config{std::make_unique<Config>(*system)},
|
config{std::make_unique<Config>(*system)},
|
||||||
vfs{std::make_shared<FileSys::RealVfsFilesystem>()},
|
vfs{std::make_shared<FileSys::RealVfsFilesystem>()},
|
||||||
|
|
Loading…
Reference in a new issue