diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-11-05 21:37:10 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-11-06 23:47:11 +0100 |
| commit | 9a87c9adf70bf1be221507d1e258a68e8c19c175 (patch) | |
| tree | 1b77b1241a51bae390a7fbc9f0c5479c21a81c23 | |
| parent | 917d3d0ed3612493c71d85db90cc919319f2222e (diff) | |
Cleanup: Player does not need enable_shared_from_this.
| -rw-r--r-- | src/lib/player.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<Player> +class Player { public: Player (std::shared_ptr<const Film>, Image::Alignment subtitle_alignment); |
