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>
Sun, 1 May 2022 21:44:30 +0000 (23:44 +0200)
commit233d449a87ca9bb426b4150e583cd9e810cbece0
treee351553be20c08049a87d7a9c7dab6d2ae91e4d6
parente2d4793bfd92b4f210147889b8a69fbda7e3ed7f
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