summaryrefslogtreecommitdiff
path: root/src/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/subtitle_content.cc
parentc2018e0dae9ed2503b6244a47524a7ce16eedb0b (diff)
Use a typedef for a note-taking functor.
Diffstat (limited to 'src/subtitle_content.cc')
-rw-r--r--src/subtitle_content.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/subtitle_content.cc b/src/subtitle_content.cc
index 5e7c5b25..07fd90f0 100644
--- a/src/subtitle_content.cc
+++ b/src/subtitle_content.cc
@@ -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;