Add Config::unset_last_release_notes_version()
[dcpomatic.git] / src / lib / config.h
index 9727bac1a16f0fc03398fa54c3643e0f3f255d57..8f1029910ec51822441e5331a07ce1b0d9d99320 100644 (file)
@@ -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<std::string>());
+       }
+
        ExportConfig& export_config() {
                return _export;
        }