diff options
| author | Luke Granger-Brown <git@lukegb.com> | 2022-01-16 19:37:25 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-01-16 21:00:42 +0100 |
| commit | b090dda8afed4f73349a5fa1e603a734171aa404 (patch) | |
| tree | 8db8f686aa4eacc747fc57bab55e95bea4be1f01 | |
| parent | 09f8b57ac237c98eae648fc31093cf22495db740 (diff) | |
Add some missing header includes.
<memory> is needed for std::*_ptr, and <algorithm> for std::transform.
| -rw-r--r-- | src/lib/case_insensitive_sorter.cc | 1 | ||||
| -rw-r--r-- | src/lib/dcp_subtitle.cc | 1 | ||||
| -rw-r--r-- | src/lib/dcp_subtitle.h | 1 | ||||
| -rw-r--r-- | src/lib/zipper.h | 1 | ||||
| -rw-r--r-- | src/wx/fonts_dialog.cc | 1 | ||||
| -rw-r--r-- | src/wx/fonts_dialog.h | 1 |
6 files changed, 6 insertions, 0 deletions
diff --git a/src/lib/case_insensitive_sorter.cc b/src/lib/case_insensitive_sorter.cc index 4bf3c2d18..540b3cfe5 100644 --- a/src/lib/case_insensitive_sorter.cc +++ b/src/lib/case_insensitive_sorter.cc @@ -21,6 +21,7 @@ #include "case_insensitive_sorter.h" #include <boost/filesystem.hpp> +#include <algorithm> using std::string; diff --git a/src/lib/dcp_subtitle.cc b/src/lib/dcp_subtitle.cc index 0943a6b08..c2c3f7f70 100644 --- a/src/lib/dcp_subtitle.cc +++ b/src/lib/dcp_subtitle.cc @@ -24,6 +24,7 @@ #include "compose.hpp" #include <dcp/interop_subtitle_asset.h> #include <dcp/smpte_subtitle_asset.h> +#include <memory> #include "i18n.h" diff --git a/src/lib/dcp_subtitle.h b/src/lib/dcp_subtitle.h index 2011759aa..285dd55bc 100644 --- a/src/lib/dcp_subtitle.h +++ b/src/lib/dcp_subtitle.h @@ -24,6 +24,7 @@ #include <boost/filesystem.hpp> +#include <memory> namespace dcp { diff --git a/src/lib/zipper.h b/src/lib/zipper.h index 9f3e867c7..f554e2e8f 100644 --- a/src/lib/zipper.h +++ b/src/lib/zipper.h @@ -20,6 +20,7 @@ #include <boost/filesystem.hpp> +#include <memory> #include <vector> diff --git a/src/wx/fonts_dialog.cc b/src/wx/fonts_dialog.cc index d4cc27049..d5e0aacbe 100644 --- a/src/wx/fonts_dialog.cc +++ b/src/wx/fonts_dialog.cc @@ -28,6 +28,7 @@ #include "lib/text_content.h" #include <wx/wx.h> #include <iostream> +#include <memory> using std::list; diff --git a/src/wx/fonts_dialog.h b/src/wx/fonts_dialog.h index a77684cb9..b62ba3817 100644 --- a/src/wx/fonts_dialog.h +++ b/src/wx/fonts_dialog.h @@ -25,6 +25,7 @@ DCPOMATIC_DISABLE_WARNINGS #include <wx/wx.h> DCPOMATIC_ENABLE_WARNINGS #include <boost/filesystem.hpp> +#include <memory> class Content; |
