From c22c440067195e9e0787604f8fb15c6f1f670329 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 17 Jul 2024 12:46:36 -0400 Subject: Clean up includes and forward declarations According to include-what-you-use 0.22 on LLVM 18, anyway. Most of the changes seem vaguely reasonable, so as usual, just go with what the tool says because it's most useful when reports are typically clean. --- src/client/GraphModel.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/client') diff --git a/src/client/GraphModel.cpp b/src/client/GraphModel.cpp index 45d0eb31..1404f021 100644 --- a/src/client/GraphModel.cpp +++ b/src/client/GraphModel.cpp @@ -17,6 +17,7 @@ #include "ingen/client/GraphModel.hpp" #include "ingen/Atom.hpp" +#include "ingen/URI.hpp" #include "ingen/URIs.hpp" #include "ingen/client/ArcModel.hpp" #include "ingen/client/BlockModel.hpp" @@ -32,6 +33,11 @@ namespace ingen::client { +GraphModel::GraphModel(URIs& uris, const raul::Path& graph_path) + : BlockModel{uris, static_cast(uris.ingen_Graph), graph_path} +{ +} + void GraphModel::add_child(const std::shared_ptr& c) { -- cgit v1.2.1