3
0
Fork 0
forked from suyu/suyu

Merge pull request #7190 from Morph1984/missing-ui-main

main: Add missing make_unique for ui
This commit is contained in:
Fernando S 2021-10-16 01:48:10 +02:00 committed by GitHub
commit 8b996015a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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>()},