summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-01-04 20:54:24 +0000
committerCarl Hetherington <cth@carlh.net>2022-04-20 20:06:55 +0200
commit819261fbb48c1b4bfbe2a7d5e88bc1529c912845 (patch)
tree13a446bcde2bb65a1473e61b1526176fde7b1376 /src
parent3da5ba894243cb65c489f6acbcf4a37095130563 (diff)
Fix failure to find_and_resolve_all_cpls() in some cases.
It seems to me that we need to ignore as-yet-unresolved assets otherwise if we see them in the wrong order we'll throw an exception.
Diffstat (limited to 'src')
-rw-r--r--src/search.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.cc b/src/search.cc
index dc0f92a0..dd02a2e0 100644
--- a/src/search.cc
+++ b/src/search.cc
@@ -78,7 +78,7 @@ dcp::find_and_resolve_cpls (vector<boost::filesystem::path> const& directories,
for (auto i: dcps) {
for (auto j: dcps) {
if (i != j) {
- i->resolve_refs(j->assets());
+ i->resolve_refs(j->assets(true));
}
}
}