lr: add support for location resolver disable commands
This commit is contained in:
@@ -125,6 +125,15 @@ namespace ams::util {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
template<typename F>
|
||||
void ForEach(F f) {
|
||||
for (size_t i = 0; i < N; ++i) {
|
||||
if (m_keys[i]) {
|
||||
f(m_keys[i].value(), GetReference(m_values[i]));
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user