diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-07 10:23:39 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-07 10:23:39 +0000 |
| commit | 02279f7c2a7ab8ec8cc416da528bc53dcc8f2c9f (patch) | |
| tree | 7277142b338612a9168950c44df74a10c0fe4222 /src/subtitle_content.cc | |
| parent | c2018e0dae9ed2503b6244a47524a7ce16eedb0b (diff) | |
Use a typedef for a note-taking functor.
Diffstat (limited to 'src/subtitle_content.cc')
| -rw-r--r-- | src/subtitle_content.cc | 3 |
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; |
