summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-07-13 12:39:56 -0400
committerDavid Robillard <d@drobilla.net>2024-07-13 12:39:56 -0400
commit943819c40ab43d5202cd9af75cd403447210ad0b (patch)
tree859b65aa24c52996618a682053a9e057f8a95693
parentc283128e50a5b9235055a296dabf04ac88d3cbae (diff)
downloadpatchage-943819c40ab43d5202cd9af75cd403447210ad0b.tar.gz
patchage-943819c40ab43d5202cd9af75cd403447210ad0b.tar.bz2
patchage-943819c40ab43d5202cd9af75cd403447210ad0b.zip
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.
-rw-r--r--src/AlsaDriver.cpp1
-rw-r--r--src/Canvas.cpp1
-rw-r--r--src/CanvasModule.cpp1
-rw-r--r--src/Configuration.hpp1
-rw-r--r--src/Drivers.cpp1
-rw-r--r--src/JackLibDriver.cpp1
-rw-r--r--src/Legend.cpp1
-rw-r--r--src/Patchage.cpp1
-rw-r--r--src/TextViewLog.cpp1
9 files changed, 9 insertions, 0 deletions
diff --git a/src/AlsaDriver.cpp b/src/AlsaDriver.cpp
index 2771abd..1842598 100644
--- a/src/AlsaDriver.cpp
+++ b/src/AlsaDriver.cpp
@@ -30,6 +30,7 @@ PATCHAGE_RESTORE_WARNINGS
#include <optional>
#include <set>
#include <utility>
+#include <variant>
namespace patchage {
namespace {
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index 3624933..76bd0bd 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -46,6 +46,7 @@ PATCHAGE_RESTORE_WARNINGS
#include <set>
#include <string>
#include <utility>
+#include <variant>
namespace patchage {
namespace {
diff --git a/src/CanvasModule.cpp b/src/CanvasModule.cpp
index 4015819..262cb18 100644
--- a/src/CanvasModule.cpp
+++ b/src/CanvasModule.cpp
@@ -29,6 +29,7 @@ PATCHAGE_RESTORE_WARNINGS
#include <functional>
#include <memory>
#include <utility>
+#include <variant>
namespace patchage {
diff --git a/src/Configuration.hpp b/src/Configuration.hpp
index a92d4af..4afbc4d 100644
--- a/src/Configuration.hpp
+++ b/src/Configuration.hpp
@@ -13,6 +13,7 @@
#include <optional>
#include <string>
#include <tuple>
+#include <variant>
namespace patchage {
diff --git a/src/Drivers.cpp b/src/Drivers.cpp
index 6de2459..94efd14 100644
--- a/src/Drivers.cpp
+++ b/src/Drivers.cpp
@@ -12,6 +12,7 @@
#include <functional>
#include <utility>
+#include <variant>
namespace patchage {
diff --git a/src/JackLibDriver.cpp b/src/JackLibDriver.cpp
index 5133bc6..be5a8bc 100644
--- a/src/JackLibDriver.cpp
+++ b/src/JackLibDriver.cpp
@@ -39,6 +39,7 @@ PATCHAGE_RESTORE_WARNINGS
#include <string>
#include <unordered_set>
#include <utility>
+#include <variant>
namespace patchage {
namespace {
diff --git a/src/Legend.cpp b/src/Legend.cpp
index 1ef833e..5be8545 100644
--- a/src/Legend.cpp
+++ b/src/Legend.cpp
@@ -10,6 +10,7 @@
#include <gdkmm/color.h>
#include <glibmm/signalproxy.h>
+#include <glibmm/ustring.h>
#include <gtkmm/box.h>
#include <gtkmm/colorbutton.h>
#include <gtkmm/label.h>
diff --git a/src/Patchage.cpp b/src/Patchage.cpp
index 785cd2d..0a1650d 100644
--- a/src/Patchage.cpp
+++ b/src/Patchage.cpp
@@ -85,6 +85,7 @@ PATCHAGE_RESTORE_WARNINGS
#include <sigc++/adaptors/bind.h>
#include <sigc++/functors/mem_fun.h>
#include <sigc++/functors/ptr_fun.h>
+#include <sigc++/functors/slot.h>
#include <sigc++/signal.h>
#include <algorithm>
diff --git a/src/TextViewLog.cpp b/src/TextViewLog.cpp
index 712b760..ba7c512 100644
--- a/src/TextViewLog.cpp
+++ b/src/TextViewLog.cpp
@@ -8,6 +8,7 @@
#include <gdkmm/color.h>
#include <glibmm/propertyproxy.h>
#include <glibmm/refptr.h>
+#include <glibmm/ustring.h>
#include <gtkmm/enums.h>
#include <gtkmm/textbuffer.h>
#include <gtkmm/texttag.h>