C++11 tidying.
[dcpomatic.git] / src / lib / atmos_decoder.h
index 3003d5a076a177e5c2fb8da132691c618186e7a7..1ec1b8a6cff380e3dfb11444a4d75432e33a2613 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.
 
 class AtmosDecoder : public DecoderPart
 {
 public:
-       AtmosDecoder (Decoder* parent, boost::shared_ptr<const Content> content);
+       AtmosDecoder (Decoder* parent, std::shared_ptr<const Content> content);
 
-       boost::optional<dcpomatic::ContentTime> position (boost::shared_ptr<const Film>) const {
+       boost::optional<dcpomatic::ContentTime> position (std::shared_ptr<const Film>) const override {
                return _position;
        }
 
-       void seek ();
+       void seek () override;
 
-       void emit (boost::shared_ptr<const Film> film, boost::shared_ptr<const dcp::AtmosFrame> data, Frame frame, AtmosMetadata metadata);
+       void emit (std::shared_ptr<const Film> film, std::shared_ptr<const dcp::AtmosFrame> data, Frame frame, AtmosMetadata metadata);
 
        boost::signals2::signal<void (ContentAtmos)> Data;
 
 private:
-       boost::shared_ptr<const Content> _content;
+       std::shared_ptr<const Content> _content;
        boost::optional<dcpomatic::ContentTime> _position;
 };