Fix (I think) some strange situations where ::get() on dialogs
authorCarl Hetherington <cth@carlh.net>
Thu, 28 Apr 2022 20:12:54 +0000 (22:12 +0200)
committerCarl Hetherington <cth@carlh.net>
Fri, 29 Apr 2022 21:37:48 +0000 (23:37 +0200)
commit54141c7a9504e289d41af997067ca6b78a1d4b0a
tree4f792d29c6d090837be267362334151b23f00399
parentaff13422649363d7fed58287958ca66b363825ba
Fix (I think) some strange situations where ::get() on dialogs
used by EditableList would return something that wasn't a optional<>
but would then get implicitly cast to one.  Now we have a static_assert
to check that the type is what we expect.
src/tools/dcpomatic_combiner.cc
src/wx/content_version_dialog.cc
src/wx/content_version_dialog.h
src/wx/editable_list.h
src/wx/rating_dialog.cc
src/wx/rating_dialog.h