Fix build with newer FFmpeg.
[dcpomatic.git] / src / lib / atmos_content.h
index 0344b6225d5f9f599964a1185cda46b0ce0befec..8edab8c3168937057d4a9085250a829d4a3e51f3 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.
 
@@ -35,9 +35,10 @@ public:
 class AtmosContent : public ContentPart
 {
 public:
-       AtmosContent (Content* parent);
+       explicit AtmosContent (Content* parent);
+       AtmosContent (Content* parent, cxml::ConstNodePtr node);
 
-       static boost::shared_ptr<AtmosContent> from_xml (Content* parent, cxml::ConstNodePtr node);
+       static std::shared_ptr<AtmosContent> from_xml (Content* parent, cxml::ConstNodePtr node);
 
        void as_xml (xmlpp::Node* node) const;
 
@@ -54,8 +55,6 @@ public:
        }
 
 private:
-       AtmosContent (Content* parent, cxml::ConstNodePtr node);
-
        Frame _length;
        dcp::Fraction _edit_rate;
 };