Add some missing header includes.
authorLuke Granger-Brown <git@lukegb.com>
Sun, 16 Jan 2022 19:37:25 +0000 (19:37 +0000)
committerCarl Hetherington <cth@carlh.net>
Sun, 16 Jan 2022 19:57:59 +0000 (20:57 +0100)
<memory> is needed for std::*_ptr, and <algorithm> for std::transform.

src/lib/case_insensitive_sorter.cc
src/lib/dcp_subtitle.cc
src/lib/dcp_subtitle.h
src/lib/zipper.h
src/wx/fonts_dialog.cc
src/wx/fonts_dialog.h

index 4bf3c2d18217fd21ea9b1608874b27d3d8b1284c..540b3cfe5e37bdaa23af20ea8b24767a49e9aaca 100644 (file)
@@ -21,6 +21,7 @@
 
 #include "case_insensitive_sorter.h"
 #include <boost/filesystem.hpp>
+#include <algorithm>
 
 
 using std::string;
index 0943a6b08721c49c0c0132acb90273cd14901d6c..c2c3f7f70a6c4215955c82c963090d8ab1a5b8b2 100644 (file)
@@ -24,6 +24,7 @@
 #include "compose.hpp"
 #include <dcp/interop_subtitle_asset.h>
 #include <dcp/smpte_subtitle_asset.h>
+#include <memory>
 
 #include "i18n.h"
 
index 2011759aa13082ab7e39485e03638d08bfb155e4..285dd55bc4a1e931a3d3ab550bef2565c4dcdc55 100644 (file)
@@ -24,6 +24,7 @@
 
 
 #include <boost/filesystem.hpp>
+#include <memory>
 
 
 namespace dcp {
index 9f3e867c773c78e6ab8c8f22c2a855c64f7902cc..f554e2e8f38a2c202f9d6ea470ff363fabb335c9 100644 (file)
@@ -20,6 +20,7 @@
 
 
 #include <boost/filesystem.hpp>
+#include <memory>
 #include <vector>
 
 
index d4cc270494fc61762e273fc244a6bad81b8cd8af..d5e0aacbea0a01bc7fb5f43710b76c70f8a339c9 100644 (file)
@@ -28,6 +28,7 @@
 #include "lib/text_content.h"
 #include <wx/wx.h>
 #include <iostream>
+#include <memory>
 
 
 using std::list;
index a77684cb9e6984e8fb3eecc2efb7683d93b8ca0e..b62ba381747bfa2bd274295956e64c33dbbc9f60 100644 (file)
@@ -25,6 +25,7 @@ DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
 DCPOMATIC_ENABLE_WARNINGS
 #include <boost/filesystem.hpp>
+#include <memory>
 
 
 class Content;