summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-12 20:50:26 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-13 00:12:26 +0100
commitb02059e59d96733f79eb17a01bb960e582b647e3 (patch)
tree874fc54e14ea729bf0268b9bdb6806d3d90f0a71
parent6c5d47c8d3138e30e248bfd0041ae978043ab6be (diff)
Cleanup: default return.
-rw-r--r--src/wx/config_dialog.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/config_dialog.cc b/src/wx/config_dialog.cc
index af3f84b9e..aab1f1feb 100644
--- a/src/wx/config_dialog.cc
+++ b/src/wx/config_dialog.cc
@@ -1031,7 +1031,7 @@ SoundPage::get_sound_output() const
{
int const sel = _sound_output->GetSelection ();
if (sel == wxNOT_FOUND) {
- return optional<string> ();
+ return {};
}
return wx_to_std (_sound_output->GetString (sel));