summaryrefslogtreecommitdiff
path: root/src/asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-07-30 00:14:01 +0100
committerCarl Hetherington <cth@carlh.net>2016-07-30 00:14:01 +0100
commit1713b44ac4727f4de6a899b27e49f104324ccfa6 (patch)
tree98aaebb91a351c2192abc2e5af5ced30eeebe1a4 /src/asset.cc
parentf3fb557c4fdaed2e642e8c30a0363af5042beaa5 (diff)
Comments.
Diffstat (limited to 'src/asset.cc')
-rw-r--r--src/asset.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/asset.cc b/src/asset.cc
index 32f4e079..1a3bd363 100644
--- a/src/asset.cc
+++ b/src/asset.cc
@@ -64,6 +64,10 @@ Asset::Asset (boost::filesystem::path file)
}
+/** Create an Asset from a given file with a known ID.
+ * @param file File name.
+ * @param id ID.
+ */
Asset::Asset (string id, boost::filesystem::path file)
: Object (id)
, _file (file)