From: Carl Hetherington Date: Sun, 28 Aug 2022 23:11:21 +0000 (+0200) Subject: Add Config::unset_last_release_notes_version() X-Git-Tag: v2.16.22~2 X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=a64f55f3a55ae8db95022ff8b5574c1eb4f2dc9f Add Config::unset_last_release_notes_version() --- diff --git a/src/lib/config.h b/src/lib/config.h index 9727bac1a..8f1029910 100644 --- a/src/lib/config.h +++ b/src/lib/config.h @@ -1130,6 +1130,10 @@ public: maybe_set (_last_release_notes_version, version); } + void unset_last_release_notes_version() { + maybe_set(_last_release_notes_version, boost::optional()); + } + ExportConfig& export_config() { return _export; }