BOOST_FOREACH addition.
authorCarl Hetherington <cth@carlh.net>
Wed, 3 Apr 2019 00:36:59 +0000 (00:36 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 3 Apr 2019 00:36:59 +0000 (00:36 +0000)
src/tools/dcpomatic.cc

index 1b46e2292298534a2613d0cdb1747de1b76bb58b..1db6b2d0fac0082d65b0a1d3129efb36a9441d7d 100644 (file)
@@ -427,8 +427,8 @@ public:
                                );
                }
 
-               for (list<string>::const_iterator i = notes.begin(); i != notes.end(); ++i) {
-                       error_dialog (0, std_to_wx (*i));
+               BOOST_FOREACH (string i, notes) {
+                       error_dialog (0, std_to_wx(i));
                }
 
                set_film (film);