From bbdab98ed282291b6e29a944359c360c9cca127e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 13 Jul 2024 12:41:21 -0400 Subject: Add missing includes According to include-what-you-use, anyway. Most of these seem questionable/unnecessary, but since the whole point here is to avoid wasting time doing manually what machines can do, just do what the tool says to keep the checks clean even if it's suboptimal. --- src/gui/App.cpp | 2 ++ src/gui/BreadCrumbs.hpp | 1 + src/gui/ConnectWindow.cpp | 1 + src/gui/GraphCanvas.cpp | 1 + src/gui/LoadPluginWindow.cpp | 1 + src/gui/MessagesWindow.cpp | 1 + src/gui/NodeMenu.cpp | 1 + src/gui/NodeModule.cpp | 1 + src/gui/Port.cpp | 1 + src/gui/SubgraphModule.cpp | 1 + src/server/CompiledGraph.cpp | 1 + src/server/ControlBindings.hpp | 5 +---- src/server/GraphImpl.hpp | 5 +---- src/server/InputPort.hpp | 7 +------ src/server/JackDriver.hpp | 5 +---- src/server/LV2Block.hpp | 11 +---------- src/server/PortAudioDriver.hpp | 8 +------- 17 files changed, 18 insertions(+), 35 deletions(-) diff --git a/src/gui/App.cpp b/src/gui/App.cpp index 5ae1c8d9..bd57696e 100644 --- a/src/gui/App.cpp +++ b/src/gui/App.cpp @@ -52,6 +52,7 @@ #include #include #include +#include #include #include #include @@ -62,6 +63,7 @@ #include #include #include +#include #include #include diff --git a/src/gui/BreadCrumbs.hpp b/src/gui/BreadCrumbs.hpp index e7fffc18..6501288d 100644 --- a/src/gui/BreadCrumbs.hpp +++ b/src/gui/BreadCrumbs.hpp @@ -24,6 +24,7 @@ #include "ingen/client/GraphModel.hpp" #include "raul/Path.hpp" +#include #include #include #include diff --git a/src/gui/ConnectWindow.cpp b/src/gui/ConnectWindow.cpp index f49b8788..82447888 100644 --- a/src/gui/ConnectWindow.cpp +++ b/src/gui/ConnectWindow.cpp @@ -56,6 +56,7 @@ #include #include #include +#include #include #include diff --git a/src/gui/GraphCanvas.cpp b/src/gui/GraphCanvas.cpp index 896cbf1f..5ea39de0 100644 --- a/src/gui/GraphCanvas.cpp +++ b/src/gui/GraphCanvas.cpp @@ -80,6 +80,7 @@ #include #include #include +#include #include #include #include diff --git a/src/gui/LoadPluginWindow.cpp b/src/gui/LoadPluginWindow.cpp index 6a4d998c..6951f87a 100644 --- a/src/gui/LoadPluginWindow.cpp +++ b/src/gui/LoadPluginWindow.cpp @@ -43,6 +43,7 @@ #include #include #include +#include #include #include #include diff --git a/src/gui/MessagesWindow.cpp b/src/gui/MessagesWindow.cpp index db32af91..7f3e4b8c 100644 --- a/src/gui/MessagesWindow.cpp +++ b/src/gui/MessagesWindow.cpp @@ -26,6 +26,7 @@ #include #include #include +#include #include #include #include diff --git a/src/gui/NodeMenu.cpp b/src/gui/NodeMenu.cpp index 0b511fc1..5559db71 100644 --- a/src/gui/NodeMenu.cpp +++ b/src/gui/NodeMenu.cpp @@ -52,6 +52,7 @@ #include #include #include +#include #include #include diff --git a/src/gui/NodeModule.cpp b/src/gui/NodeModule.cpp index 223c0832..1d9b4c9f 100644 --- a/src/gui/NodeModule.cpp +++ b/src/gui/NodeModule.cpp @@ -56,6 +56,7 @@ #include #include #include +#include #include #include diff --git a/src/gui/Port.cpp b/src/gui/Port.cpp index 7b5988b7..36e03c5c 100644 --- a/src/gui/Port.cpp +++ b/src/gui/Port.cpp @@ -47,6 +47,7 @@ #include "sord/sordmm.hpp" #include +#include #include #include #include diff --git a/src/gui/SubgraphModule.cpp b/src/gui/SubgraphModule.cpp index fee602b5..a2f13b8a 100644 --- a/src/gui/SubgraphModule.cpp +++ b/src/gui/SubgraphModule.cpp @@ -30,6 +30,7 @@ #include #include +#include namespace ingen { diff --git a/src/server/CompiledGraph.cpp b/src/server/CompiledGraph.cpp index 08e558a8..a89623d0 100644 --- a/src/server/CompiledGraph.cpp +++ b/src/server/CompiledGraph.cpp @@ -35,6 +35,7 @@ #include #include #include +#include #include #include #include diff --git a/src/server/ControlBindings.hpp b/src/server/ControlBindings.hpp index 9a7f66a2..a4ed0f94 100644 --- a/src/server/ControlBindings.hpp +++ b/src/server/ControlBindings.hpp @@ -22,6 +22,7 @@ #include "lv2/atom/forge.h" #include "raul/Maid.hpp" +#include #include #include @@ -34,10 +35,6 @@ namespace raul { class Path; } // namespace raul -namespace boost::intrusive { -template struct compare; -} // namespace boost::intrusive - namespace ingen { class Atom; diff --git a/src/server/GraphImpl.hpp b/src/server/GraphImpl.hpp index c5f978fb..7c3a56df 100644 --- a/src/server/GraphImpl.hpp +++ b/src/server/GraphImpl.hpp @@ -26,6 +26,7 @@ #include "lv2/urid/urid.h" #include "raul/Maid.hpp" +#include #include #include @@ -39,10 +40,6 @@ namespace raul { class Symbol; } // namespace raul -namespace boost::intrusive { -template struct constant_time_size; -} // namespace boost::intrusive - namespace ingen::server { class ArcImpl; diff --git a/src/server/InputPort.hpp b/src/server/InputPort.hpp index 834a6d8a..ab4c3e54 100644 --- a/src/server/InputPort.hpp +++ b/src/server/InputPort.hpp @@ -25,6 +25,7 @@ #include "lv2/urid/urid.h" #include "raul/Maid.hpp" +#include #include #include @@ -34,12 +35,6 @@ namespace raul { class Symbol; } // namespace raul -namespace boost::intrusive { - -template struct constant_time_size; - -} // namespace boost::intrusive - namespace ingen { class Atom; diff --git a/src/server/JackDriver.hpp b/src/server/JackDriver.hpp index 8bb7cff3..3f0e28dc 100644 --- a/src/server/JackDriver.hpp +++ b/src/server/JackDriver.hpp @@ -26,6 +26,7 @@ #include "lv2/atom/forge.h" #include "raul/Semaphore.hpp" +#include #include #include #include @@ -42,10 +43,6 @@ namespace raul { class Path; } // namespace raul -namespace boost::intrusive { -template struct cache_last; -} // namespace boost::intrusive - namespace ingen { class Atom; diff --git a/src/server/LV2Block.hpp b/src/server/LV2Block.hpp index fd446106..bbcc1039 100644 --- a/src/server/LV2Block.hpp +++ b/src/server/LV2Block.hpp @@ -31,6 +31,7 @@ #include "raul/Maid.hpp" #include "raul/Noncopyable.hpp" +#include #include #include @@ -46,16 +47,6 @@ namespace raul { class Symbol; } // namespace raul -namespace boost::intrusive { - -template -struct cache_last; - -template -struct constant_time_size; - -} // namespace boost::intrusive - namespace ingen { class Resource; diff --git a/src/server/PortAudioDriver.hpp b/src/server/PortAudioDriver.hpp index 9f17a100..c0a28ba9 100644 --- a/src/server/PortAudioDriver.hpp +++ b/src/server/PortAudioDriver.hpp @@ -24,6 +24,7 @@ #include "ingen/URI.hpp" #include "raul/Semaphore.hpp" +#include #include #include @@ -36,13 +37,6 @@ namespace raul { class Path; } // namespace raul -namespace boost::intrusive { - -template -struct cache_last; - -} // namespace boost::intrusive - namespace ingen { class Atom; -- cgit v1.2.1