Use a typedef for a note-taking functor.
[libdcp.git] / src / interop_subtitle_content.cc
index 45977d67da96677250dca452c7d9ec126e16cdd9..218dbaea26887a3e44129c99341f73b749a42d33 100644 (file)
@@ -26,7 +26,6 @@
 using std::list;
 using std::string;
 using boost::shared_ptr;
-using boost::function;
 using boost::optional;
 using boost::dynamic_pointer_cast;
 using namespace dcp;
@@ -174,7 +173,7 @@ InteropSubtitleContent::add_font (string id, string uri)
 }
 
 bool
-InteropSubtitleContent::equals (shared_ptr<const Asset> other_asset, EqualityOptions options, function<void (NoteType, std::string)> note) const
+InteropSubtitleContent::equals (shared_ptr<const Asset> other_asset, EqualityOptions options, NoteHandler note) const
 {
        if (!SubtitleContent::equals (other_asset, options, note)) {
                return false;