summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-11 20:46:55 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-11 20:50:08 +0200
commit3a94f95d49e99fe5936e19977c28de25033488a8 (patch)
treee7dafcf83026c581006a5d209bc439eea297d52f /src
parent1a284b7c409567b6ecb223adece779487f70ac92 (diff)
Add header guards.
Diffstat (limited to 'src')
-rw-r--r--src/interop_subtitle_asset.h9
-rw-r--r--src/smpte_subtitle_asset.h7
2 files changed, 16 insertions, 0 deletions
diff --git a/src/interop_subtitle_asset.h b/src/interop_subtitle_asset.h
index 07bfeadf..f8df3c59 100644
--- a/src/interop_subtitle_asset.h
+++ b/src/interop_subtitle_asset.h
@@ -37,6 +37,10 @@
*/
+#ifndef DCP_INTEROP_SUBTITLE_ASSET_H
+#define DCP_INTEROP_SUBTITLE_ASSET_H
+
+
#include "subtitle_asset.h"
#include <boost/filesystem.hpp>
@@ -139,4 +143,9 @@ private:
std::vector<std::shared_ptr<InteropLoadFontNode>> _load_font_nodes;
};
+
}
+
+
+#endif
+
diff --git a/src/smpte_subtitle_asset.h b/src/smpte_subtitle_asset.h
index 83abdfbf..6984b644 100644
--- a/src/smpte_subtitle_asset.h
+++ b/src/smpte_subtitle_asset.h
@@ -32,6 +32,10 @@
*/
+#ifndef LIBDCP_SMPTE_SUBTITLE_ASSET_H
+#define LIBDCP_SMPTE_SUBTITLE_ASSET_H
+
+
/** @file src/smpte_subtitle_asset.h
* @brief SMPTESubtitleAsset class
*/
@@ -231,3 +235,6 @@ private:
}
+
+
+#endif