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 1b46e22..1db6b2d 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);