#include <ApplicationServices/ApplicationServices.h>
#endif
#include <boost/bind/bind.hpp>
-#include <boost/foreach.hpp>
#ifdef check
#undef check
throw InvalidSignerError ();
}
- BOOST_FOREACH (shared_ptr<Screen> i, _screens->screens()) {
+ for (auto i: _screens->screens()) {
if (!i->recipient) {
continue;
);
/* Add keys from the DKDM */
- BOOST_FOREACH (dcp::DecryptedKDMKey const & j, decrypted.keys()) {
+ for (auto const& j: decrypted.keys()) {
kdm.add_key (j);
}
/* Add children */
shared_ptr<DKDMGroup> g = dynamic_pointer_cast<DKDMGroup> (base);
if (g) {
- BOOST_FOREACH (shared_ptr<DKDMBase> i, g->children()) {
+ for (auto i: g->children()) {
add_dkdm_view (i);
}
}