Skip to content

Commit

Permalink
maintenance
Browse files Browse the repository at this point in the history
  • Loading branch information
powerof3 authored and github-actions[bot] committed Jan 9, 2024
1 parent 00d54d9 commit abf5e00
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/RE/T/TESForm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ namespace RE
keywordForm->ForEachKeyword([&](const BGSKeyword& a_keyword) {
if (std::ranges::find(editorIDs, a_keyword.GetFormEditorID()) != editorIDs.end()) {
hasKeyword = true;
return BSContainer::ForEachResult::kStop;
return BSContainer::ForEachResult::kStop;
}
return BSContainer::ForEachResult::kContinue;
});

return hasKeyword;
}

bool TESForm::HasKeywordByEditorID(std::string_view a_editorID)
bool TESForm::HasKeywordByEditorID(std::string_view a_editorID)
{
const auto keywordForm = As<BGSKeywordForm>();
if (!keywordForm) {
Expand All @@ -90,7 +90,7 @@ namespace RE
return keywordForm->HasKeywordString(a_editorID);
}

bool TESForm::HasKeywordInArray(const std::vector<BGSKeyword*>& a_keywords, bool a_matchAll) const
bool TESForm::HasKeywordInArray(const std::vector<BGSKeyword*>& a_keywords, bool a_matchAll) const
{
const auto keywordForm = As<BGSKeywordForm>();
if (!keywordForm) {
Expand Down

0 comments on commit abf5e00

Please sign in to comment.