Use a typedef for a note-taking functor.
[libdcp.git] / src / subtitle_content.cc
index 5e7c5b257001b666e5c415596df9f32a744a66bd..07fd90f01ebb0357a37cb9f12cda40c472b9d07a 100644 (file)
@@ -39,7 +39,6 @@ using std::stringstream;
 using std::cout;
 using boost::shared_ptr;
 using boost::optional;
-using boost::function;
 using boost::dynamic_pointer_cast;
 using namespace dcp;
 
@@ -196,7 +195,7 @@ SubtitleContent::latest_subtitle_out () const
 }
 
 bool
-SubtitleContent::equals (shared_ptr<const Asset> other_asset, EqualityOptions options, function<void (NoteType, std::string)> note) const
+SubtitleContent::equals (shared_ptr<const Asset> other_asset, EqualityOptions options, NoteHandler note) const
 {
        if (!Asset::equals (other_asset, options, note)) {
                return false;