summaryrefslogtreecommitdiff
path: root/src/wx/name_format_editor.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-07-27 01:35:57 +0200
committerCarl Hetherington <cth@carlh.net>2020-07-27 10:05:45 +0200
commitc622a06189181a3a6ad356094c9a3cf4e1f5a722 (patch)
treeb9897abab9e7ea9d06134b15c7befc8aebbfa249 /src/wx/name_format_editor.h
parent7555175e605aab5567020ce48b00bfa6f4d2b726 (diff)
Hide warnings triggered by Ubuntu 20.04's gcc.
Diffstat (limited to 'src/wx/name_format_editor.h')
-rw-r--r--src/wx/name_format_editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wx/name_format_editor.h b/src/wx/name_format_editor.h
index 2ae3f5e93..32c78ea25 100644
--- a/src/wx/name_format_editor.h
+++ b/src/wx/name_format_editor.h
@@ -22,8 +22,11 @@
#define DCPOMATIC_NAME_FORMAT_EDITOR_H
#include "lib/compose.hpp"
+#include "lib/warnings.h"
#include <dcp/name_format.h>
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
#include <boost/foreach.hpp>
#include <boost/signals2.hpp>