Make system config thread-safe (almost)

This commit is contained in:
Nekotekina 2020-01-20 19:08:57 +03:00
parent 0147bc2c72
commit 0f87c6c7c3
4 changed files with 53 additions and 39 deletions

View file

@ -326,7 +326,7 @@ void cfg::_bool::from_default()
void cfg::string::from_default()
{
m_value = def;
m_value = m_value.make(def);
}
void cfg::set_entry::from_default()