Use boost::function for making notes during equals operations.
[libdcp.git] / src / sound_asset.h
index ad350ce59561229ab1bc87dfb34b55842f068fad..dedebac34121b6e6d67e0e2355401cd3a71f335a 100644 (file)
@@ -129,7 +129,7 @@ public:
         */
        void write_to_cpl (std::ostream& s) const;
 
-       bool equals (boost::shared_ptr<const Asset> other, EqualityOptions opt, std::list<std::string>& notes) const;
+       bool equals (boost::shared_ptr<const Asset> other, EqualityOptions opt, boost::function<void (std::string)> note) const;
 
        boost::shared_ptr<const SoundFrame> get_frame (int n) const;