summaryrefslogtreecommitdiff
path: root/src/lib/decoder_factory.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-05-24 23:15:46 +0200
committerCarl Hetherington <cth@carlh.net>2021-05-25 21:35:12 +0200
commit5c80bd735ebf02ad476c335adbb8ad9ebd8d27a6 (patch)
tree4889f489247bcf99448e03c9870d937cdb34db17 /src/lib/decoder_factory.h
parent0382b129cfd39e484b4b57009e0dbf5573f6b587 (diff)
Forward-declare the right class.
Diffstat (limited to 'src/lib/decoder_factory.h')
-rw-r--r--src/lib/decoder_factory.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/decoder_factory.h b/src/lib/decoder_factory.h
index 1a39f37e2..902cf9f0b 100644
--- a/src/lib/decoder_factory.h
+++ b/src/lib/decoder_factory.h
@@ -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,