Use boost::function for making notes during equals operations.
[libdcp.git] / src / subtitle_asset.h
index 71ae42fc426002d44abac1bdad302a3a03e6d015..b3936dc24fdb0811262ffb4b7e761be13327c224 100644 (file)
@@ -184,9 +184,9 @@ public:
        SubtitleAsset (std::string directory, std::string movie_title, std::string language);
 
        void write_to_cpl (std::ostream&) const;
-       virtual bool equals (boost::shared_ptr<const Asset>, EqualityOptions, std::list<std::string>& notes) const {
+       virtual bool equals (boost::shared_ptr<const Asset>, EqualityOptions, boost::function<void (std::string)> note) const {
                /* XXX */
-               notes.push_back ("subtitle assets not compared yet");
+               note ("subtitle assets not compared yet");
                return true;
        }