C++11 tidying.
[dcpomatic.git] / src / lib / butler.h
index ac83cecec7ebedff3afacaee84b9a9834c1e5455..29966b956b2b491d7c7d82c85f2adc5128842927 100644 (file)
@@ -40,7 +40,7 @@ public:
                std::shared_ptr<Player> player,
                AudioMapping map,
                int audio_channels,
-               boost::function<AVPixelFormat (AVPixelFormat)> pixel_format,
+               std::function<AVPixelFormat (AVPixelFormat)> pixel_format,
                VideoRange video_range,
                bool aligned,
                bool fast
@@ -119,7 +119,7 @@ private:
 
        bool _disable_audio;
 
-       boost::function<AVPixelFormat (AVPixelFormat)> _pixel_format;
+       std::function<AVPixelFormat (AVPixelFormat)> _pixel_format;
        VideoRange _video_range;
        bool _aligned;
        bool _fast;