summaryrefslogtreecommitdiff
path: root/src/interop_subtitle_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-07 10:23:39 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-07 10:23:39 +0000
commit02279f7c2a7ab8ec8cc416da528bc53dcc8f2c9f (patch)
tree7277142b338612a9168950c44df74a10c0fe4222 /src/interop_subtitle_content.cc
parentc2018e0dae9ed2503b6244a47524a7ce16eedb0b (diff)
Use a typedef for a note-taking functor.
Diffstat (limited to 'src/interop_subtitle_content.cc')
-rw-r--r--src/interop_subtitle_content.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interop_subtitle_content.cc b/src/interop_subtitle_content.cc
index 45977d67..218dbaea 100644
--- a/src/interop_subtitle_content.cc
+++ b/src/interop_subtitle_content.cc
@@ -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;