X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Ftools%2Fdcpomatic_disk.cc;h=17a24d4c102e651099d0b8ef0f9f33bb27ba3f5f;hb=d31674ec14bb533fe2b195601e9ee2fe03848487;hp=d3a28cdc41c917045f64bd5bdbc544bcb5a4b613;hpb=402fa9a3577975e9cf9728c815da1b17796fe325;p=dcpomatic.git diff --git a/src/tools/dcpomatic_disk.cc b/src/tools/dcpomatic_disk.cc index d3a28cdc4..17a24d4c1 100644 --- 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 boost::shared_ptr; +using std::shared_ptr; 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 (); - BOOST_FOREACH (Drive i, _drives) { + for (auto i: _drives) { wxString const s = std_to_wx(i.description()); if (s == current) { re_select = j;