diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-22 01:39:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-22 01:39:22 +0100 |
| commit | 5fbcd3a8dc711c6c42efabbac72ab0408f504ea2 (patch) | |
| tree | dfc84a000b2e2c67b6c73c2b8809b5da3137ecc4 /src/types.cc | |
| parent | bebe2f996176113a527bf2492fd179420493d0ff (diff) | |
Assorted c++11 cleanups.
Diffstat (limited to 'src/types.cc')
| -rw-r--r-- | src/types.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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 <libxml++/libxml++.h> #include <boost/algorithm/string.hpp> -#include <boost/foreach.hpp> #include <string> #include <vector> #include <cmath> @@ -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<Channel>()); } else { |
