diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-28 16:00:16 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-28 16:00:16 +0000 |
| commit | 15137597824b263c875bd427f7d121eae28d45a6 (patch) | |
| tree | cb6dc61e13822c103ece293f875e85dab24823c0 /src/asset.h | |
| parent | 4126980a15f4f6bb981d0793bd37483456c5bc79 (diff) | |
Various fixes.
Diffstat (limited to 'src/asset.h')
| -rw-r--r-- | src/asset.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/asset.h b/src/asset.h index f9ec949f..bd172428 100644 --- a/src/asset.h +++ b/src/asset.h @@ -58,7 +58,7 @@ public: /** Write details of the asset to a ASSETMAP. * @param node Parent node. */ - void write_to_assetmap (xmlpp::Node* node) const; + void write_to_assetmap (xmlpp::Node* node, boost::filesystem::path root) const; /** Write details of the asset to a PKL AssetList node. * @param node Parent node. @@ -69,10 +69,7 @@ public: return _file; } - void set_file (boost::filesystem::path file) const { - _file = file; - _hash.clear (); - } + void set_file (boost::filesystem::path file) const; /** @return the hash of this asset's file. It will be * computed by this call if necessary. |
