diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-06-02 09:26:39 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-06-02 09:26:39 +0100 |
| commit | 76276c8d9cb6c1337ecdd02f6d7c026f196bba58 (patch) | |
| tree | 891e9833456046f11e07a0a4667ff6e7a638ddc4 /src/asset.cc | |
| parent | 4da794a09e4e3114fea02f955e485ae5a5ca2dd7 (diff) | |
Add Asset::set_hash().
Diffstat (limited to 'src/asset.cc')
| -rw-r--r-- | src/asset.cc | 6 |
1 files changed, 6 insertions, 0 deletions
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<string> (); } + +void +Asset::set_hash (string hash) +{ + _hash = hash; +} |
