summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-17 12:46:36 -0400
committerDavid Robillard <d@drobilla.net>2024-07-17 12:46:36 -0400
commitc22c440067195e9e0787604f8fb15c6f1f670329 (patch)
tree6c3b41582a4dd3ce4c049a3b5248d783c96605d3 /include
parent06d9f4afc7f9d517d55017234897edd10f279fbf (diff)
downloadingen-c22c440067195e9e0787604f8fb15c6f1f670329.tar.gz
ingen-c22c440067195e9e0787604f8fb15c6f1f670329.tar.bz2
ingen-c22c440067195e9e0787604f8fb15c6f1f670329.zip
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.
Diffstat (limited to 'include')
-rw-r--r--include/ingen/client/GraphModel.hpp9
1 files changed, 2 insertions, 7 deletions
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<const URI&>(uris.ingen_Graph),
- graph_path)
- {}
+ GraphModel(URIs& uris, const raul::Path& graph_path);
void clear() override;
void add_child(const std::shared_ptr<ObjectModel>& c) override;