Use enum class for the things in types.h
[libdcp.git] / src / asset.cc
index 49ec72519108a4546f557821efa156506c8d956a..8ac28afce6a52db375e985ab0e8317b8a92e6d61 100644 (file)
@@ -146,7 +146,7 @@ bool
 Asset::equals (std::shared_ptr<const Asset> other, EqualityOptions, NoteHandler note) const
 {
        if (_hash != other->_hash) {
-               note (DCP_ERROR, "Asset: hashes differ");
+               note (NoteType::ERROR, "Asset: hashes differ");
                return false;
        }