From 2970a579fa3e3f980f8a9d0cfea44b93ca05602a Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 2 Jan 2025 23:58:07 +0100 Subject: Remove some unused includes. --- src/lib/atmos_mxf_content.cc | 1 - src/lib/copy_to_drive_job.cc | 2 -- src/lib/cross_osx.cc | 1 - src/lib/dkdm_recipient.cc | 2 -- src/lib/ffmpeg.cc | 2 -- src/lib/ffmpeg_subtitle_stream.cc | 2 -- src/lib/spl.cc | 2 -- src/lib/types.cc | 2 -- src/lib/writer.cc | 1 - 9 files changed, 15 deletions(-) (limited to 'src/lib') diff --git a/src/lib/atmos_mxf_content.cc b/src/lib/atmos_mxf_content.cc index 403f98933..6b2a64d68 100644 --- a/src/lib/atmos_mxf_content.cc +++ b/src/lib/atmos_mxf_content.cc @@ -27,7 +27,6 @@ #include #include #include -#include #include #include "i18n.h" diff --git a/src/lib/copy_to_drive_job.cc b/src/lib/copy_to_drive_job.cc index 7d208e0ec..4ed9421d6 100644 --- a/src/lib/copy_to_drive_job.cc +++ b/src/lib/copy_to_drive_job.cc @@ -24,7 +24,6 @@ #include "dcpomatic_log.h" #include "disk_writer_messages.h" #include "exceptions.h" -#include #include #include #include @@ -41,7 +40,6 @@ using std::min; using std::shared_ptr; using std::string; using boost::optional; -using dcp::raw_convert; CopyToDriveJob::CopyToDriveJob(std::vector const& dcps, Drive drive, Nanomsg& nanomsg) diff --git a/src/lib/cross_osx.cc b/src/lib/cross_osx.cc index 6df2f959e..a201cc5f9 100644 --- a/src/lib/cross_osx.cc +++ b/src/lib/cross_osx.cc @@ -27,7 +27,6 @@ #include "log.h" #include "variant.h" #include -#include #include #include #include diff --git a/src/lib/dkdm_recipient.cc b/src/lib/dkdm_recipient.cc index 83ba96de6..4ab532f3d 100644 --- a/src/lib/dkdm_recipient.cc +++ b/src/lib/dkdm_recipient.cc @@ -24,14 +24,12 @@ #include "dkdm_recipient.h" #include "film.h" #include "kdm_with_metadata.h" -#include using std::make_shared; using std::shared_ptr; using std::string; using std::vector; -using dcp::raw_convert; KDMWithMetadataPtr diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index 550e045b3..c6867c081 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -32,7 +32,6 @@ #include "log.h" #include "memory_util.h" #include "util.h" -#include extern "C" { #include #include @@ -50,7 +49,6 @@ using std::cerr; using std::vector; using std::shared_ptr; using boost::optional; -using dcp::raw_convert; using namespace dcpomatic; diff --git a/src/lib/ffmpeg_subtitle_stream.cc b/src/lib/ffmpeg_subtitle_stream.cc index 3f43b6ec5..5a5655088 100644 --- a/src/lib/ffmpeg_subtitle_stream.cc +++ b/src/lib/ffmpeg_subtitle_stream.cc @@ -19,7 +19,6 @@ */ #include "ffmpeg_subtitle_stream.h" -#include #include LIBDCP_DISABLE_WARNINGS #include @@ -31,7 +30,6 @@ using std::map; using std::list; using std::cout; using std::make_pair; -using dcp::raw_convert; /** Construct a SubtitleStream from a value returned from to_string(). * @param node String returned from to_string(). diff --git a/src/lib/spl.cc b/src/lib/spl.cc index e87465cdc..615dd916a 100644 --- a/src/lib/spl.cc +++ b/src/lib/spl.cc @@ -23,7 +23,6 @@ #include "spl.h" #include #include -#include #include LIBDCP_DISABLE_WARNINGS #include @@ -34,7 +33,6 @@ LIBDCP_ENABLE_WARNINGS using std::cout; using std::string; using std::shared_ptr; -using dcp::raw_convert; void diff --git a/src/lib/types.cc b/src/lib/types.cc index 58382fdc7..48363f892 100644 --- a/src/lib/types.cc +++ b/src/lib/types.cc @@ -24,7 +24,6 @@ #include #include #include -#include #include #include #include @@ -41,7 +40,6 @@ using std::string; using std::list; using std::shared_ptr; using std::vector; -using dcp::raw_convert; CPLSummary::CPLSummary (boost::filesystem::path p) diff --git a/src/lib/writer.cc b/src/lib/writer.cc index 138873cc3..f1dceee6e 100644 --- a/src/lib/writer.cc +++ b/src/lib/writer.cc @@ -42,7 +42,6 @@ #include #include #include -#include #include #include #include -- cgit v1.2.3