projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Config::unset_last_release_notes_version()
[dcpomatic.git]
/
src
/
lib
/
config.h
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;
}