X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Ffont_data.h;h=a3389af20d995acab0e0da7a7db274dfc062174a;hb=6cac49dc50dae6b173135df101d532f20031ca70;hp=90543bec91ff613c45762a992b4b46bc3f8968c6;hpb=bf4446523dd891049cabf1bcd68d20def57bc731;p=dcpomatic.git diff --git a/src/lib/font_data.h b/src/lib/font_data.h index 90543bec9..a3389af20 100644 --- a/src/lib/font_data.h +++ b/src/lib/font_data.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2020 Carl Hetherington + Copyright (C) 2020-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -19,6 +19,10 @@ */ +#ifndef DCPOMATIC_FONT_DATA_H +#define DCPOMATIC_FONT_DATA_H + + #include #include #include @@ -34,7 +38,7 @@ class Font; class FontData { public: - FontData (boost::shared_ptr font); + FontData (std::shared_ptr font); FontData (std::string id_, dcp::ArrayData data_) : id(id_) @@ -51,3 +55,6 @@ extern bool operator!= (FontData const& a, FontData const& b); } + + +#endif