From 76276c8d9cb6c1337ecdd02f6d7c026f196bba58 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 2 Jun 2016 09:26:39 +0100 Subject: Add Asset::set_hash(). --- src/asset.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/asset.cc') diff --git a/src/asset.cc b/src/asset.cc index 60d3aab3..052f7328 100644 --- a/src/asset.cc +++ b/src/asset.cc @@ -145,3 +145,9 @@ Asset::set_file (boost::filesystem::path file) const _file = boost::filesystem::absolute (file); _hash = optional (); } + +void +Asset::set_hash (string hash) +{ + _hash = hash; +} -- cgit v1.2.3