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. --- include/ingen/client/GraphModel.hpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'include/ingen') diff --git a/include/ingen/client/GraphModel.hpp b/include/ingen/client/GraphModel.hpp index 0ae756d8..1bc445ac 100644 --- a/include/ingen/client/GraphModel.hpp +++ b/include/ingen/client/GraphModel.hpp @@ -18,7 +18,6 @@ #define INGEN_CLIENT_GRAPHMODEL_HPP #include "ingen/Node.hpp" -#include "ingen/URIs.hpp" #include "ingen/client/BlockModel.hpp" #include "ingen/client/signal.hpp" #include "ingen/ingen.h" @@ -32,7 +31,7 @@ class Path; namespace ingen { -class URI; +class URIs; namespace client { @@ -67,11 +66,7 @@ public: private: friend class ClientStore; - GraphModel(URIs& uris, const raul::Path& graph_path) - : BlockModel(uris, - static_cast(uris.ingen_Graph), - graph_path) - {} + GraphModel(URIs& uris, const raul::Path& graph_path); void clear() override; void add_child(const std::shared_ptr& c) override; -- cgit v1.2.1