diff options
Diffstat (limited to 'src/wx/screen_dialog.cc')
| -rw-r--r-- | src/wx/screen_dialog.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/screen_dialog.cc b/src/wx/screen_dialog.cc index d0cf499e9..21786b8a2 100644 --- a/src/wx/screen_dialog.cc +++ b/src/wx/screen_dialog.cc @@ -86,13 +86,13 @@ public: setup_sensitivity(); } - optional<TrustedDevice> get () + vector<TrustedDevice> get() { auto const t = wx_to_std (_thumbprint->GetValue()); if (_certificate && _certificate->thumbprint() == t) { - return TrustedDevice (*_certificate); + return { TrustedDevice(*_certificate) }; } else if (t.length() == 28) { - return TrustedDevice (t); + return { TrustedDevice(t) }; } return {}; |
