summaryrefslogtreecommitdiff
path: root/src/asset.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-06-28 17:46:42 +0200
committerCarl Hetherington <cth@carlh.net>2024-06-28 17:46:42 +0200
commit85eebdf558ca89ce53bb59a0127f1c804e82981b (patch)
treebb7e6c654ed281ced61cece92452481a7f396288 /src/asset.cc
parent632fd6b46be907c044474a09ffffad6cccb14d08 (diff)
Diffstat (limited to 'src/asset.cc')
-rw-r--r--src/asset.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/asset.cc b/src/asset.cc
index ef06ea8d..f2efb293 100644
--- a/src/asset.cc
+++ b/src/asset.cc
@@ -114,10 +114,12 @@ Asset::add_to_assetmap(AssetMap& asset_map, boost::filesystem::path root) const
void
Asset::add_file_to_assetmap(AssetMap& asset_map, boost::filesystem::path root, boost::filesystem::path file, string id)
{
+ std::cout << "toot toot " << root << " " << file << "\n";
auto path = relative_to_root (
filesystem::canonical(root),
filesystem::canonical(file)
);
+ std::cout << "addin " << *path << "\n";
if (!path) {
/* The path of this asset is not within our DCP, so we assume it's an external