From: Carl Hetherington Date: Sun, 11 Apr 2021 18:46:55 +0000 (+0200) Subject: Add header guards. X-Git-Tag: v1.8.0~64 X-Git-Url: https://main.carlh.net/gitweb/?p=libdcp.git;a=commitdiff_plain;h=3a94f95d49e99fe5936e19977c28de25033488a8 Add header guards. --- 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 @@ -139,4 +143,9 @@ private: std::vector> _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