ncm: update for new add on content/attr changes
This commit is contained in:
1 parent
ef07964ea0
commit
427130a122
14 files changed
+290
-143
No files matched your search
@@ -134,6 +134,15 @@ namespace ams::util {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
template<typename F>
|
||||
void RemoveIf(F f) {
|
||||
for (size_t i = 0; i < N; ++i) {
|
||||
if (m_keys[i] && f(m_keys[i].value(), GetReference(m_values[i]))) {
|
||||
this->FreeEntry(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user