diff options
author | David Robillard <d@drobilla.net> | 2024-07-17 12:46:36 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2024-07-17 12:46:36 -0400 |
commit | c22c440067195e9e0787604f8fb15c6f1f670329 (patch) | |
tree | 6c3b41582a4dd3ce4c049a3b5248d783c96605d3 /src/client | |
parent | 06d9f4afc7f9d517d55017234897edd10f279fbf (diff) | |
download | ingen-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 'src/client')
-rw-r--r-- | src/client/GraphModel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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<const URI&>(uris.ingen_Graph), graph_path} +{ +} + void GraphModel::add_child(const std::shared_ptr<ObjectModel>& c) { |