add user name placeholder (#10109)

* Add user name placeholder

* non-ASCII character support

* fix: Explicitly include <boost/nowide/cstdlib.hpp>
This commit is contained in:
krmz-krmz
2025-07-18 16:43:46 +09:00
committed by GitHub
parent 46af00aa01
commit 11e2c054d0
4 changed files with 13 additions and 0 deletions

View File

@@ -71,6 +71,9 @@ public:
// Update timestamp, year, month, day, hour, minute, second variables at m_config.
void update_timestamp() { update_timestamp(m_config); }
static void update_user_name(DynamicConfig &config);
void update_user_name() { update_user_name(m_config); }
private:
// config has a higher priority than external_config when looking up a symbol.
DynamicConfig m_config;