From: Carl Hetherington Date: Sat, 5 Nov 2022 20:37:10 +0000 (+0100) Subject: Cleanup: Player does not need enable_shared_from_this. X-Git-Tag: v2.16.33~15 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=9a87c9adf70bf1be221507d1e258a68e8c19c175 Cleanup: Player does not need enable_shared_from_this. --- diff --git a/src/lib/player.h b/src/lib/player.h index 894f74bfc..0add90e97 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -74,7 +74,7 @@ public: /** @class Player * @brief A class which can play a Playlist. */ -class Player : public std::enable_shared_from_this +class Player { public: Player (std::shared_ptr, Image::Alignment subtitle_alignment);