summaryrefslogtreecommitdiff
path: root/src/asset.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-15 13:38:14 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-15 13:38:14 +0100
commit6322c72a13d7be2e991a8e0421414c0af8187b88 (patch)
treeb4ca07d1f00016bcd407152202ab408b59f093d4 /src/asset.h
parent4709841e68d860c4fbee2f2f824e57489c8ad97d (diff)
Use boost::function for making notes during equals operations.
Diffstat (limited to 'src/asset.h')
-rw-r--r--src/asset.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/asset.h b/src/asset.h
index 436e8b41..527dea7a 100644
--- a/src/asset.h
+++ b/src/asset.h
@@ -27,6 +27,7 @@
#include <string>
#include <list>
#include <boost/filesystem.hpp>
+#include <boost/function.hpp>
#include "types.h"
namespace ASDCP {
@@ -80,7 +81,7 @@ public:
_file_name = f;
}
- virtual bool equals (boost::shared_ptr<const Asset> other, EqualityOptions opt, std::list<std::string>& notes) const = 0;
+ virtual bool equals (boost::shared_ptr<const Asset> other, EqualityOptions opt, boost::function<void (std::string)>) const = 0;
protected: