X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Frating_dialog.h;h=97a56f52ec6c66fd8686e89e451282a03bde548d;hb=HEAD;hp=27887baa2386a2fc25cb744e1109d7561f5a4fcd;hpb=47d83b296248119d04b9226fd51a67e2fd3faac5;p=dcpomatic.git diff --git a/src/wx/rating_dialog.h b/src/wx/rating_dialog.h index 27887baa2..97a56f52e 100644 --- a/src/wx/rating_dialog.h +++ b/src/wx/rating_dialog.h @@ -20,7 +20,10 @@ #include +#include +LIBDCP_DISABLE_WARNINGS #include +LIBDCP_ENABLE_WARNINGS #include @@ -87,7 +90,7 @@ public: RatingDialog (wxWindow* parent); void set (dcp::Rating r); - dcp::Rating get () const; + boost::optional get () const; private: void setup_sensitivity (bool ok_valid);