diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2021-04-28 15:26:02 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2021-04-28 15:26:02 +0200 |
commit | 50ae3700dc57e53c3583b3afc9661fdb8932ad03 (patch) | |
tree | 3e04e82706bf7d0fdcf67771f4c7a4bd448e490b /src | |
parent | 17ce440211de8d72b683b25dae89ee6b7c9dc69d (diff) | |
download | kconfig-50ae3700dc57e53c3583b3afc9661fdb8932ad03.tar.gz kconfig-50ae3700dc57e53c3583b3afc9661fdb8932ad03.tar.bz2 |
Make the docs state that KConfig::reparseConfiguration() calls sync() if needed
This matches the method actually does, and makes it clearer that you don't
need to do config->sync() followed by config()->reparseConfiguration(), the
latter should suffice.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/kconfig.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/kconfig.h b/src/core/kconfig.h index 792a9a6b..6fee5ff5 100644 --- a/src/core/kconfig.h +++ b/src/core/kconfig.h @@ -233,6 +233,8 @@ public: /** * Updates the state of this object to match the persistent storage. + * Note that if this object has pending changes, this method will + * call sync() first so as not to lose those changes. */ void reparseConfiguration(); |