C++11 tidying.
[dcpomatic.git] / src / lib / font_data.h
index 90543bec91ff613c45762a992b4b46bc3f8968c6..a3389af20d995acab0e0da7a7db274dfc062174a 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2020 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2020-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 */
 
 
+#ifndef DCPOMATIC_FONT_DATA_H
+#define DCPOMATIC_FONT_DATA_H
+
+
 #include <dcp/array_data.h>
 #include <boost/optional.hpp>
 #include <string>
@@ -34,7 +38,7 @@ class Font;
 class FontData
 {
 public:
-       FontData (boost::shared_ptr<const Font> font);
+       FontData (std::shared_ptr<const Font> font);
 
        FontData (std::string id_, dcp::ArrayData data_)
                : id(id_)
@@ -51,3 +55,6 @@ extern bool operator!= (FontData const& a, FontData const& b);
 
 
 }
+
+
+#endif