From c0062fff86079f3e38c2def489551f8708e99ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Dom=C3=ADnguez?= Date: Mon, 26 Aug 2024 05:53:54 +0200 Subject: [PATCH] Remove #include --- gtk2_ardour/automation_line.cc | 2 -- gtk2_ardour/midi_channel_selector.h | 1 - libs/ardour/ardour/clip_library.h | 2 -- libs/ardour/ardour/utils.h | 2 -- libs/audiographer/wscript | 1 - libs/pbd/boost-debug/shared_ptr.hpp | 6 +----- libs/pbd/boost_debug.cc | 1 - 7 files changed, 1 insertion(+), 14 deletions(-) diff --git a/gtk2_ardour/automation_line.cc b/gtk2_ardour/automation_line.cc index ae27a3fc14..d835954f1a 100644 --- a/gtk2_ardour/automation_line.cc +++ b/gtk2_ardour/automation_line.cc @@ -38,8 +38,6 @@ #include #include -#include "boost/shared_ptr.hpp" - #include "pbd/floating.h" #include "pbd/memento_command.h" #include "pbd/stl_delete.h" diff --git a/gtk2_ardour/midi_channel_selector.h b/gtk2_ardour/midi_channel_selector.h index bc035c8f0d..7ed6a7f718 100644 --- a/gtk2_ardour/midi_channel_selector.h +++ b/gtk2_ardour/midi_channel_selector.h @@ -24,7 +24,6 @@ #define __ardour_ui_midi_channel_selector_h__ #include -#include "boost/shared_ptr.hpp" #include "sigc++/trackable.h" #include "gtkmm/table.h" diff --git a/libs/ardour/ardour/clip_library.h b/libs/ardour/ardour/clip_library.h index 1ad9937f9f..4dfa031784 100644 --- a/libs/ardour/ardour/clip_library.h +++ b/libs/ardour/ardour/clip_library.h @@ -25,8 +25,6 @@ #include -#include "boost/shared_ptr.hpp" - #include "pbd/signals.h" #include "ardour/libardour_visibility.h" diff --git a/libs/ardour/ardour/utils.h b/libs/ardour/ardour/utils.h index 32c27fc26a..337df374d2 100644 --- a/libs/ardour/ardour/utils.h +++ b/libs/ardour/ardour/utils.h @@ -32,8 +32,6 @@ #include #include -#include "boost/shared_ptr.hpp" - #if __APPLE__ #include #endif /* __APPLE__ */ diff --git a/libs/audiographer/wscript b/libs/audiographer/wscript index ad8594d4d2..5d726d4d04 100644 --- a/libs/audiographer/wscript +++ b/libs/audiographer/wscript @@ -28,7 +28,6 @@ def configure(conf): autowaf.check_pkg(conf, 'fftw3f', uselib_store='FFTW3F', mandatory=True) # Boost headers - autowaf.check_header(conf, 'cxx', 'boost/shared_ptr.hpp') autowaf.check_header(conf, 'cxx', 'boost/format.hpp') def build(bld): diff --git a/libs/pbd/boost-debug/shared_ptr.hpp b/libs/pbd/boost-debug/shared_ptr.hpp index f64b582d99..39aa0111f0 100644 --- a/libs/pbd/boost-debug/shared_ptr.hpp +++ b/libs/pbd/boost-debug/shared_ptr.hpp @@ -1,9 +1,5 @@ #define DEBUG_SHARED_PTR -#ifndef DEBUG_SHARED_PTR - -#include - -#else +#ifdef DEBUG_SHARED_PTR #include "pbd/stacktrace.h" diff --git a/libs/pbd/boost_debug.cc b/libs/pbd/boost_debug.cc index b60a7b7336..c9a9f58a30 100644 --- a/libs/pbd/boost_debug.cc +++ b/libs/pbd/boost_debug.cc @@ -29,7 +29,6 @@ #include #include #include -#include #include "pbd/stacktrace.h" #include "pbd/boost_debug.h"