1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00
Charles Kerr 2021-12-01 14:57:29 -06:00
parent ade738d465
commit 463a742f34

View file

@ -419,7 +419,7 @@ std::unique_ptr<MainWindow> MainWindow::create(
Glib::RefPtr<Gio::ActionGroup> const& actions,
Glib::RefPtr<Session> const& core)
{
return std::unique_ptr<MainWindow>(new MainWindow(app, actions, core));
return std::make_unique<MainWindow>(app, actions, core);
}
MainWindow::MainWindow(Gtk::Application& app, Glib::RefPtr<Gio::ActionGroup> const& actions, Glib::RefPtr<Session> const& core)