1
0
Fork 0
forked from suyu/suyu

main: Add missing make_unique for ui

This commit is contained in:
Morph 2021-10-15 19:36:52 -04:00
parent aef3ae1cb9
commit d4c79a0404

View file

@ -192,7 +192,7 @@ static void RemoveCachedContents() {
}
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>()},
config{std::make_unique<Config>(*system)},
vfs{std::make_shared<FileSys::RealVfsFilesystem>()},