Cleanup: header ordering.
[libdcp.git] / src / asset.cc
index 330bd653082fcb1ff6441322b06c640ee76f7ca7..213d4878410e2553f7b48963da1ea185432d9f06 100644 (file)
@@ -41,6 +41,7 @@
 #include "asset_map.h"
 #include "compose.hpp"
 #include "dcp_assert.h"
+#include "equality_options.h"
 #include "exceptions.h"
 #include "pkl.h"
 #include "raw_convert.h"
@@ -143,7 +144,7 @@ Asset::hash (function<void (float)> progress) const
 
 
 bool
-Asset::equals(std::shared_ptr<const Asset> other, EqualityOptions opt, NoteHandler note) const
+Asset::equals(std::shared_ptr<const Asset> other, EqualityOptions const& opt, NoteHandler note) const
 {
        if (_hash != other->_hash) {
                if (!opt.asset_hashes_can_differ) {