Skip to content

Commit

Permalink
maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
adya authored and github-actions[bot] committed Mar 31, 2024
1 parent b36708c commit f16ce03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SPID/include/LinkedDistribution.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ namespace LinkedDistribution
return linkedFormsIt->second;
}
}

static DataVec<Form> empty{};
return empty;
}
Expand Down Expand Up @@ -244,7 +244,7 @@ namespace LinkedDistribution
{
for (const auto& linkedForm : linkedForms) {
if (std::holds_alternative<RE::TESForm*>(linkedForm)) {
auto& distributableFormsAtPath = forms[scope == kLocal ? path : ""]; // If item is global, we put it in a common map with no information about the path.
auto& distributableFormsAtPath = forms[scope == kLocal ? path : ""]; // If item is global, we put it in a common map with no information about the path.
auto& distributableForms = distributableFormsAtPath[std::get<RE::TESForm*>(linkedForm)];
// Note that we don't use Data.index here, as these linked forms don't have any leveled filters
// and as such do not to track their index.
Expand Down

0 comments on commit f16ce03

Please sign in to comment.