Fix the build for older macOS.
[dcpomatic.git] / src / lib / decoder_factory.h
index 0cd90a5857ce7b0c9d3d1a179e9a6f3e6a7f074e..902cf9f0b73f98737ac26eaf3a5ca13ca41e79dd 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2016-2019 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2016-2021 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
-class ImageDecoder;
 
-extern boost::shared_ptr<Decoder> decoder_factory (
-       boost::shared_ptr<const Film> film,
-       boost::shared_ptr<const Content> content,
+class Decoder;
+
+
+extern std::shared_ptr<Decoder> decoder_factory (
+       std::shared_ptr<const Film> film,
+       std::shared_ptr<const Content> content,
        bool fast,
        bool tolerant,
-       boost::shared_ptr<Decoder> old_decoder
+       std::shared_ptr<Decoder> old_decoder
        );