Cleanup: J2KEncoder does not need enable_shared_from_this.
authorCarl Hetherington <cth@carlh.net>
Sun, 6 Nov 2022 21:00:55 +0000 (22:00 +0100)
committerCarl Hetherington <cth@carlh.net>
Sun, 6 Nov 2022 22:47:18 +0000 (23:47 +0100)
src/lib/j2k_encoder.h

index ce362f3862871db7d00d4bb557c36b7054bb2c6d..ef925b8de5a7344f7aefe1e46871f173a6315553 100644 (file)
@@ -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);