summaryrefslogtreecommitdiff
path: root/src/reel.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/reel.h
parent4709841e68d860c4fbee2f2f824e57489c8ad97d (diff)
Use boost::function for making notes during equals operations.
Diffstat (limited to 'src/reel.h')
-rw-r--r--src/reel.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/reel.h b/src/reel.h
index c7d3b164..b0dfc84d 100644
--- a/src/reel.h
+++ b/src/reel.h
@@ -19,6 +19,7 @@
#include <list>
#include <boost/shared_ptr.hpp>
+#include <boost/function.hpp>
#include "types.h"
namespace libdcp {
@@ -55,7 +56,7 @@ public:
void write_to_cpl (std::ostream & s) const;
- bool equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, std::list<std::string>& notes) const;
+ bool equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, boost::function<void (std::string)> notes) const;
private:
boost::shared_ptr<const PictureAsset> _main_picture;