X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/a500fb72810060e52d87ad2c2e4691531f0bcc5a..1cb912e4f90473f78d2f0f10ab5c9b2c5bd36440:/projects/stargazer/plugins/configuration/sgconfig/parser_admins.h diff --git a/projects/stargazer/plugins/configuration/sgconfig/parser_admins.h b/projects/stargazer/plugins/configuration/sgconfig/parser_admins.h index efad0d63..bad37427 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/parser_admins.h +++ b/projects/stargazer/plugins/configuration/sgconfig/parser_admins.h @@ -24,15 +24,15 @@ #include "parser.h" #include "stg/common.h" -#include "stg/optional.h" #include +#include namespace STG { struct Admins; -struct Admin; +class Admin; namespace PARSER { @@ -138,8 +138,8 @@ class CHG_ADMIN: public BASE_PARSER private: std::string login; - Optional password; - Optional privAsString; + std::optional password; + std::optional privAsString; Admins & m_admins; void CreateAnswer() override;