X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a500fb72810060e52d87ad2c2e4691531f0bcc5a..2196a3a0cdc5384c082febb7f4aa5994cc7d80db:/projects/stargazer/plugins/configuration/sgconfig/parser_users.h?ds=inline diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_users.h b/projects/stargazer/plugins/configuration/sgconfig/parser_users.h index b9d5fce4..d1e36e8f 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_users.h +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_users.h @@ -26,17 +26,17 @@ #include "stg/user_conf.h" #include "stg/user_stat.h" #include "stg/common.h" -#include "stg/optional.h" #include +#include namespace STG { -struct Users; -struct User; -struct Tariffs; -struct Admin; +class Users; +class User; +class Tariffs; +class Admin; struct Store; namespace PARSER @@ -160,8 +160,8 @@ class CHG_USER: public BASE_PARSER const Tariffs & m_tariffs; UserStatOpt m_usr; UserConfOpt m_ucr; - Optional m_upr[DIR_NUM]; - Optional m_downr[DIR_NUM]; + std::optional m_upr[DIR_NUM]; + std::optional m_downr[DIR_NUM]; std::string m_cashMsg; std::string m_login; bool m_cashMustBeAdded;