summaryrefslogtreecommitdiff
path: root/src/wx
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-08-26 14:29:06 +0200
committerCarl Hetherington <cth@carlh.net>2023-08-29 18:28:40 +0200
commitc7f45cd00b94393f6e15428a2ea256995f890412 (patch)
tree92c045700e0e60a2a44aec0daa5210278d11f4d6 /src/wx
parente71e6d33210e4a4c7d7841d0d5d8e906e00bb82f (diff)
Cleanup: use some more vector instead of list.
Diffstat (limited to 'src/wx')
-rw-r--r--src/wx/closed_captions_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/closed_captions_dialog.cc b/src/wx/closed_captions_dialog.cc
index d84ea0135..9142500e0 100644
--- a/src/wx/closed_captions_dialog.cc
+++ b/src/wx/closed_captions_dialog.cc
@@ -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;