summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-06 22:00:55 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-06 23:47:18 +0100
commit47667725371a394167e602a0aac8e55949e8a39c (patch)
tree79e6f5ef426ffdfe79788f5975394b51b7103222
parent9a87c9adf70bf1be221507d1e258a68e8c19c175 (diff)
Cleanup: J2KEncoder does not need enable_shared_from_this.
-rw-r--r--src/lib/j2k_encoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/j2k_encoder.h b/src/lib/j2k_encoder.h
index ce362f386..ef925b8de 100644
--- a/src/lib/j2k_encoder.h
+++ b/src/lib/j2k_encoder.h
@@ -56,7 +56,7 @@ class PlayerVideo;
* This class keeps a queue of frames to be encoded and distributes
* the work around threads and encoding servers.
*/
-class J2KEncoder : public ExceptionStore, public std::enable_shared_from_this<J2KEncoder>
+class J2KEncoder : public ExceptionStore
{
public:
J2KEncoder(std::shared_ptr<const Film> film, Writer& writer);