Use a typedef for a note-taking functor.
[libdcp.git] / src / dcp.cc
index 589e3b3be70d54d3042b48f2cbd93e9e5427ea5d..dd360edd5f22f21d5095fa3cf30b88cea753368f 100644 (file)
@@ -173,7 +173,7 @@ DCP::read (bool keep_going, ReadErrors* errors)
 }
 
 bool
-DCP::equals (DCP const & other, EqualityOptions opt, boost::function<void (NoteType, string)> note) const
+DCP::equals (DCP const & other, EqualityOptions opt, NoteHandler note) const
 {
        list<shared_ptr<CPL> > a = cpls ();
        list<shared_ptr<CPL> > b = other.cpls ();