From 1876eb0bfb5152761d523db0c76fd5d81d437e57 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 24 Nov 2024 18:18:45 -0500 Subject: Remove IWYU pragmas that no longer seem necessary In a few cases here, we could get away with just a forward declaration but IWYU can't figure it out. Since this isn't a huge deal, just do what the tool says, since it's overall less hassle to just do what it says. --- src/server/events/Delta.hpp | 5 +---- src/server/events/Mark.hpp | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) (limited to 'src/server/events') diff --git a/src/server/events/Delta.hpp b/src/server/events/Delta.hpp index 1bbfe1ec..a2a63a71 100644 --- a/src/server/events/Delta.hpp +++ b/src/server/events/Delta.hpp @@ -18,6 +18,7 @@ #define INGEN_EVENTS_DELTA_HPP #include "ClientUpdate.hpp" +#include "CompiledGraph.hpp" #include "ControlBindings.hpp" #include "Event.hpp" #include "SetPortValue.hpp" @@ -33,9 +34,6 @@ #include #include -// IWYU pragma: no_include "CompiledGraph.hpp" -// IWYU pragma: no_include - namespace ingen { class Interface; @@ -45,7 +43,6 @@ struct SetProperty; namespace server { -class CompiledGraph; // IWYU pragma: keep class Engine; class GraphImpl; class PreProcessContext; diff --git a/src/server/events/Mark.hpp b/src/server/events/Mark.hpp index eb99c5a9..c98ca0d9 100644 --- a/src/server/events/Mark.hpp +++ b/src/server/events/Mark.hpp @@ -17,14 +17,13 @@ #ifndef INGEN_EVENTS_MARK_HPP #define INGEN_EVENTS_MARK_HPP +#include "CompiledGraph.hpp" #include "Event.hpp" #include "types.hpp" #include #include -// IWYU pragma: no_include "CompiledGraph.hpp" - namespace ingen { class Interface; @@ -33,7 +32,6 @@ struct BundleEnd; namespace server { -class CompiledGraph; // IWYU pragma: keep class Engine; class GraphImpl; class PreProcessContext; -- cgit v1.2.1