projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Some C++11 stuff.
[dcpomatic.git]
/
src
/
tools
/
dcpomatic_disk.cc
diff --git
a/src/tools/dcpomatic_disk.cc
b/src/tools/dcpomatic_disk.cc
index ac0bb68df47dce48dc5be26074fcedfafdd5d463..17a24d4c102e651099d0b8ef0f9f33bb27ba3f5f 100644
(file)
--- a/
src/tools/dcpomatic_disk.cc
+++ b/
src/tools/dcpomatic_disk.cc
@@
-317,7
+317,7
@@
private:
int re_select = wxNOT_FOUND;
int j = 0;
_drives = Drive::get ();
-
BOOST_FOREACH (Drive i,
_drives) {
+
for (auto i:
_drives) {
wxString const s = std_to_wx(i.description());
if (s == current) {
re_select = j;