summaryrefslogtreecommitdiff
path: root/src/asset.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/asset.cc
parentc2018e0dae9ed2503b6244a47524a7ce16eedb0b (diff)
Use a typedef for a note-taking functor.
Diffstat (limited to 'src/asset.cc')
-rw-r--r--src/asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/asset.cc b/src/asset.cc
index e2dcc0f6..7e60ecc5 100644
--- a/src/asset.cc
+++ b/src/asset.cc
@@ -94,7 +94,7 @@ Asset::hash (function<void (float)> progress) const
}
bool
-Asset::equals (boost::shared_ptr<const Asset> other, EqualityOptions, function<void (NoteType, string)> note) const
+Asset::equals (boost::shared_ptr<const Asset> other, EqualityOptions, NoteHandler note) const
{
if (_hash != other->_hash) {
note (DCP_ERROR, "Asset: hashes differ");