diff options
author | David Robillard <d@drobilla.net> | 2023-02-03 14:43:19 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-02-03 14:43:19 -0500 |
commit | ad4cec932249445160017cd2cf57917c1c2e2501 (patch) | |
tree | 0d09dd324f8f3f5411e567bbd1663decce1c6c04 /src/gui/GraphView.cpp | |
parent | f33d936ce99f9c175ed1171e93b0217258537bb1 (diff) | |
download | ingen-ad4cec932249445160017cd2cf57917c1c2e2501.tar.gz ingen-ad4cec932249445160017cd2cf57917c1c2e2501.tar.bz2 ingen-ad4cec932249445160017cd2cf57917c1c2e2501.zip |
Suppress/fix new warnings in clang-tidy 15
Diffstat (limited to 'src/gui/GraphView.cpp')
-rw-r--r-- | src/gui/GraphView.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/GraphView.cpp b/src/gui/GraphView.cpp index a5ca7dd1..969e0add 100644 --- a/src/gui/GraphView.cpp +++ b/src/gui/GraphView.cpp @@ -120,8 +120,9 @@ GraphView::set_graph(const std::shared_ptr<const GraphModel>& graph) std::shared_ptr<GraphView> GraphView::create(App& app, const std::shared_ptr<const GraphModel>& graph) { - GraphView* result = nullptr; - Glib::RefPtr<Gtk::Builder> xml = WidgetFactory::create("warehouse_win"); + GraphView* result = nullptr; + const Glib::RefPtr<Gtk::Builder> xml = + WidgetFactory::create("warehouse_win"); xml->get_widget_derived("graph_view_box", result); if (!result) { |