diff options
Diffstat (limited to 'src/wx/download_certificate_panel.cc')
| -rw-r--r-- | src/wx/download_certificate_panel.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/download_certificate_panel.cc b/src/wx/download_certificate_panel.cc index 7b670261b..1379025c6 100644 --- a/src/wx/download_certificate_panel.cc +++ b/src/wx/download_certificate_panel.cc @@ -24,6 +24,7 @@ #include <boost/bind.hpp> using boost::function; +using boost::optional; DownloadCertificatePanel::DownloadCertificatePanel (wxWindow* parent, DownloadCertificateDialog* dialog) : wxPanel (parent, wxID_ANY) @@ -55,9 +56,8 @@ DownloadCertificatePanel::load (boost::filesystem::path file) } } -dcp::Certificate +optional<dcp::Certificate> DownloadCertificatePanel::certificate () const { - DCPOMATIC_ASSERT (_certificate); - return _certificate.get (); + return _certificate; } |
