Forward-declare the right class.
authorCarl Hetherington <cth@carlh.net>
Mon, 24 May 2021 21:15:46 +0000 (23:15 +0200)
committerCarl Hetherington <cth@carlh.net>
Tue, 25 May 2021 19:35:12 +0000 (21:35 +0200)
src/lib/decoder_factory.h

index 1a39f37e24ed06642f80398ffc7025e7dc34a958..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.
 
@@ -18,7 +18,9 @@
 
 */
 
-class ImageDecoder;
+
+class Decoder;
+
 
 extern std::shared_ptr<Decoder> decoder_factory (
        std::shared_ptr<const Film> film,