Move ContentSorter out of the header, and use a default constructor.
[dcpomatic.git] / src / lib / playlist.h
index 2d68d3f393bd7cf00b804215364170a6b99c433c..e2662eb4581d78293f7d344c6e35619eaae9c400 100644 (file)
 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;