summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-08-29 01:11:21 +0200
committerCarl Hetherington <cth@carlh.net>2022-08-29 01:11:21 +0200
commita64f55f3a55ae8db95022ff8b5574c1eb4f2dc9f (patch)
tree59908b770e58cf15acf6c7dc0667ddcaa8b3e10c
parent3b7cf73c078341a6c60cb92a2e2a1c55d9f08e73 (diff)
Add Config::unset_last_release_notes_version()
-rw-r--r--src/lib/config.h4
1 files changed, 4 insertions, 0 deletions
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<std::string>());
+ }
+
ExportConfig& export_config() {
return _export;
}