summaryrefslogtreecommitdiff
path: root/src/lib/playlist.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-08-08 18:32:03 +0200
committerCarl Hetherington <cth@carlh.net>2023-08-09 10:18:46 +0200
commit280568029622c5e99d4b90d55b0cebe12cb24e93 (patch)
tree5ab43db327263d98a358aad3b45e4d8be84ace94 /src/lib/playlist.h
parenta3c1ae7c2e46b65347341896b3d1a505ff92632b (diff)
Move ContentSorter out of the header, and use a default constructor.
Diffstat (limited to 'src/lib/playlist.h')
-rw-r--r--src/lib/playlist.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/lib/playlist.h b/src/lib/playlist.h
index 2d68d3f39..e2662eb45 100644
--- a/src/lib/playlist.h
+++ b/src/lib/playlist.h
@@ -36,12 +36,6 @@
class Film;
-struct ContentSorter
-{
- bool operator() (std::shared_ptr<Content> a, std::shared_ptr<Content> b);
-};
-
-
/** @class Playlist
* @brief A set of Content objects with knowledge of how they should be arranged into
* a DCP.
@@ -49,7 +43,8 @@ struct ContentSorter
class Playlist
{
public:
- Playlist ();
+ Playlist() = default;
+
~Playlist ();
Playlist (Playlist const&) = delete;