From 5fbcd3a8dc711c6c42efabbac72ab0408f504ea2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 22 Jan 2021 01:39:22 +0100 Subject: Assorted c++11 cleanups. --- src/types.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/types.cc') diff --git a/src/types.cc b/src/types.cc index 6058ea10..099512c6 100644 --- a/src/types.cc +++ b/src/types.cc @@ -38,7 +38,6 @@ #include "dcp_assert.h" #include #include -#include #include #include #include @@ -570,7 +569,7 @@ MainSoundConfiguration::MainSoundConfiguration (string s) throw MainSoundConfigurationError (s); } - BOOST_FOREACH (string i, channels) { + for (auto i: channels) { if (i == "-") { _channels.push_back(optional()); } else { -- cgit v1.2.3