Add comment about AudioDialog.
[dcpomatic.git] / src / wx / closed_captions_dialog.cc
index d84ea01359966a726773db8ca4a91490bf3b36a3..9142500e0547bffa28534d21b40e584c18c9c612 100644 (file)
@@ -201,7 +201,7 @@ ClosedCaptionsDialog::update ()
                        _lines[j] = "";
                }
 
-               to_show.sort (ClosedCaptionSorter());
+               std::sort(to_show.begin(), to_show.end(), ClosedCaptionSorter());
 
                auto j = to_show.begin();
                int k = 0;