projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused method.
[dcpomatic.git]
/
src
/
wx
/
player_stress_tester.cc
diff --git
a/src/wx/player_stress_tester.cc
b/src/wx/player_stress_tester.cc
index 726db2a70b9144578ed6c1acee37e6ba5049c4c1..6dd2dd67473451f5bdcbb45f1f2fd03c0ea4a076 100644
(file)
--- a/
src/wx/player_stress_tester.cc
+++ b/
src/wx/player_stress_tester.cc
@@
-24,8
+24,7
@@
#include <dcp/util.h>
#include <wx/wx.h>
#include <boost/algorithm/string.hpp>
#include <dcp/util.h>
#include <wx/wx.h>
#include <boost/algorithm/string.hpp>
-#include <boost/foreach.hpp>
-#include <boost/bind.hpp>
+#include <boost/bind/bind.hpp>
#include <string>
#include <vector>
#include <iostream>
#include <string>
#include <vector>
#include <iostream>
@@
-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"));
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();
_commands.push_back (Command(i));
}
_current_command = _commands.begin();