projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More c++ tidying.
[dcpomatic.git]
/
src
/
tools
/
dcpomatic_disk.cc
diff --git
a/src/tools/dcpomatic_disk.cc
b/src/tools/dcpomatic_disk.cc
index d3a28cdc41c917045f64bd5bdbc544bcb5a4b613..17a24d4c102e651099d0b8ef0f9f33bb27ba3f5f 100644
(file)
--- a/
src/tools/dcpomatic_disk.cc
+++ b/
src/tools/dcpomatic_disk.cc
@@
-51,7
+51,7
@@
using std::string;
using std::exception;
using std::cout;
using std::cerr;
using std::exception;
using std::cout;
using std::cerr;
-using
boost
::shared_ptr;
+using
std
::shared_ptr;
using boost::optional;
#if BOOST_VERSION >= 106100
using namespace boost::placeholders;
using boost::optional;
#if BOOST_VERSION >= 106100
using namespace boost::placeholders;
@@
-317,7
+317,7
@@
private:
int re_select = wxNOT_FOUND;
int j = 0;
_drives = Drive::get ();
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;
wxString const s = std_to_wx(i.description());
if (s == current) {
re_select = j;