projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
BOOST_FOREACH.
[dcpomatic.git]
/
src
/
wx
/
config_dialog.cc
diff --git
a/src/wx/config_dialog.cc
b/src/wx/config_dialog.cc
index 2319754f04827aa51a196f8e3c76705d1d1ec5db..14abc286b115f616cbf4a786cd9770be4e012d30 100644
(file)
--- a/
src/wx/config_dialog.cc
+++ b/
src/wx/config_dialog.cc
@@
-34,7
+34,7
@@
using std::make_pair;
using std::map;
using boost::bind;
using boost::optional;
using std::map;
using boost::bind;
using boost::optional;
-using
boost
::shared_ptr;
+using
std
::shared_ptr;
using boost::function;
#if BOOST_VERSION >= 106100
using namespace boost::placeholders;
using boost::function;
#if BOOST_VERSION >= 106100
using namespace boost::placeholders;
@@
-488,7
+488,7
@@
CertificateChainEditor::update_certificate_list ()
_certificates->DeleteAllItems ();
size_t n = 0;
dcp::CertificateChain::List certs = _get()->root_to_leaf ();
_certificates->DeleteAllItems ();
size_t n = 0;
dcp::CertificateChain::List certs = _get()->root_to_leaf ();
-
BOOST_FOREACH (dcp::Certificate const & i,
certs) {
+
for (auto const& i:
certs) {
wxListItem item;
item.SetId (n);
_certificates->InsertItem (item);
wxListItem item;
item.SetId (n);
_certificates->InsertItem (item);