summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorLuke Granger-Brown <git@lukegb.com>2022-01-16 19:37:25 +0000
committerCarl Hetherington <cth@carlh.net>2022-01-16 20:57:59 +0100
commit83caae94bccc7261e75421942c2a5b5b44537c9f (patch)
tree755a45fed6c5944db01e4bb18acdd747a3e8c007 /src/wx
parent504367ecc42018d6c2c2542172900701e34090bf (diff)
Add some missing header includes.
<memory> is needed for std::*_ptr, and <algorithm> for std::transform.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/fonts_dialog.cc1
-rw-r--r--src/wx/fonts_dialog.h1
2 files changed, 2 insertions, 0 deletions
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;