Don't forget shared resources for PAKRouter::enumerateResources()

This commit is contained in:
Jack Andersen 2017-01-30 13:26:58 -10:00
parent 0223c09848
commit 1c7c9caef9
1 changed files with 3 additions and 0 deletions

View File

@ -764,6 +764,9 @@ void PAKRouter<BRIDGETYPE>::enumerateResources(const std::function<bool(const En
for (const auto& entryPair : m_uniqueEntries) for (const auto& entryPair : m_uniqueEntries)
if (!func(entryPair.second.second)) if (!func(entryPair.second.second))
return; return;
for (const auto& entryPair : m_sharedEntries)
if (!func(entryPair.second.second))
return;
} }
template class PAKRouter<DNAMP1::PAKBridge>; template class PAKRouter<DNAMP1::PAKBridge>;