diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-04 21:32:13 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-07 23:27:56 +0100 |
| commit | a5d004b0773f633401528392fc28e66d70e13ac8 (patch) | |
| tree | 9f83ff2ab353f5a63918210d4930d0ead228375e /src/wx/player_stress_tester.cc | |
| parent | dd9be86db6cde0afa5da0d1d1ac43b42e05dca26 (diff) | |
BOOST_FOREACH.
Diffstat (limited to 'src/wx/player_stress_tester.cc')
| -rw-r--r-- | src/wx/player_stress_tester.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/wx/player_stress_tester.cc b/src/wx/player_stress_tester.cc index dfe2d181e..6dd2dd674 100644 --- a/src/wx/player_stress_tester.cc +++ b/src/wx/player_stress_tester.cc @@ -24,7 +24,6 @@ #include <dcp/util.h> #include <wx/wx.h> #include <boost/algorithm/string.hpp> -#include <boost/foreach.hpp> #include <boost/bind/bind.hpp> #include <string> #include <vector> @@ -99,7 +98,7 @@ PlayerStressTester::load_script (boost::filesystem::path file) vector<string> lines; string const script = dcp::file_to_string(file); boost::split (lines, script, boost::is_any_of("\n")); - BOOST_FOREACH (string i, lines) { + for (auto i: lines) { _commands.push_back (Command(i)); } _current_command = _commands.begin(); |
