projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b7cf73
)
Add Config::unset_last_release_notes_version()
author
Carl Hetherington
<cth@carlh.net>
Sun, 28 Aug 2022 23:11:21 +0000
(
01:11
+0200)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 28 Aug 2022 23:11:21 +0000
(
01:11
+0200)
src/lib/config.h
patch
|
blob
|
history
diff --git
a/src/lib/config.h
b/src/lib/config.h
index 9727bac1a16f0fc03398fa54c3643e0f3f255d57..8f1029910ec51822441e5331a07ce1b0d9d99320 100644
(file)
--- 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;
}