From 47667725371a394167e602a0aac8e55949e8a39c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 6 Nov 2022 22:00:55 +0100 Subject: [PATCH] Cleanup: J2KEncoder does not need enable_shared_from_this. --- src/lib/j2k_encoder.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 +class J2KEncoder : public ExceptionStore { public: J2KEncoder(std::shared_ptr film, Writer& writer); -- 2.30.2