Merge remote-tracking branch 'origin/topic/awelzel/debuglogger-const-auto'

* origin/topic/awelzel/debuglogger-const-auto:
  DebugLogger: "auto const" to "const auto"
This commit is contained in:
Tim Wojtulewicz 2022-07-18 08:57:32 -07:00
commit 42c36019e6
3 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,10 @@
5.1.0-dev.269 | 2022-07-18 08:57:32 -0700
* DebugLogger: "auto const" to "const auto" (Arne Welzel, Corelight)
This was pointed out in a separate PR so fixing the occurrence I
had managed to sneak in already.
5.1.0-dev.267 | 2022-07-18 08:55:38 -0700
* Fix some warnings from bro_version deprecation (Tim Wojtulewicz)

View file

@ -1 +1 @@
5.1.0-dev.267
5.1.0-dev.269

View file

@ -152,7 +152,7 @@ bool DebugLogger::CheckStreams(const std::set<std::string>& plugin_names)
for ( const auto& p : plugin_names )
available_plugin_streams.insert(PluginStreamName(p));
for ( auto const& stream : enabled_streams )
for ( const auto& stream : enabled_streams )
{
if ( ! util::starts_with(stream, "plugin-") )
continue;