mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 20:13:35 +02:00
retire for_each loop for for(:) loop
This commit is contained in:
parent
6e4e0dfb6a
commit
0889782648
1 changed files with 3 additions and 4 deletions
|
@ -77,10 +77,9 @@ AudioMixer::AudioMixer(ReceivedMessage& message) :
|
|||
pluginManager->setPluginFilter(codecPluginFilter);
|
||||
|
||||
const auto& codecPlugins = pluginManager->getCodecPlugins();
|
||||
for_each(codecPlugins.cbegin(), codecPlugins.cend(),
|
||||
[&](const CodecPluginPointer& codec) {
|
||||
_availableCodecs[codec->getName()] = codec;
|
||||
});
|
||||
for(const auto& codec : codecPlugins) {
|
||||
_availableCodecs[codec->getName()] = codec;
|
||||
}
|
||||
|
||||
auto nodeList = DependencyManager::get<NodeList>();
|
||||
auto& packetReceiver = nodeList->getPacketReceiver();
|
||||
|
|
Loading…
Reference in a new issue