}
-/** Create an Asset from a given file. The ID will
- * be extracted from the file.
+/** Create an Asset from a given file.
* @param file File name.
*/
Asset::Asset (boost::filesystem::path file)
Asset::equals (boost::shared_ptr<const Asset> other, EqualityOptions, function<void (NoteType, string)> note) const
{
if (_hash != other->_hash) {
- note (ERROR, "Asset hashes differ");
+ note (DCP_ERROR, "Asset hashes differ");
return false;
}