From ad4cec932249445160017cd2cf57917c1c2e2501 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 3 Feb 2023 14:43:19 -0500 Subject: Suppress/fix new warnings in clang-tidy 15 --- src/gui/ConnectWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/ConnectWindow.cpp') diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp index 2fd3be8c..6938ae93 100644 --- a/src/gui/ConnectWindow.cpp +++ b/src/gui/ConnectWindow.cpp @@ -195,7 +195,7 @@ ConnectWindow::connect_remote(const URI& uri) auto sci = std::make_shared(); auto qi = std::make_shared(sci); - std::shared_ptr iface(world.new_interface(uri, qi)); + const std::shared_ptr iface{world.new_interface(uri, qi)}; if (iface) { world.set_interface(iface); _app->attach(qi); -- cgit v1.2.1