X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e9ae1f101b5418c0ba2e6c9d86b23c12f0140982..90b793eb07dc190eeb1144a1da079de760d17c36:/include/stg/user_conf.h?ds=sidebyside diff --git a/include/stg/user_conf.h b/include/stg/user_conf.h index db5773b8..a82c4f1f 100644 --- a/include/stg/user_conf.h +++ b/include/stg/user_conf.h @@ -1,10 +1,10 @@ #pragma once #include "user_ips.h" -#include "stg/optional.h" #include #include +#include #include #include "const.h" @@ -110,25 +110,25 @@ struct UserConfOpt UserConfOpt(UserConfOpt&&) = default; UserConfOpt& operator=(UserConfOpt&&) = default; - Optional password; - Optional passive; - Optional disabled; - Optional disabledDetailStat; - Optional alwaysOnline; - Optional tariffName; - Optional address; - Optional phone; - Optional email; - Optional note; - Optional realName; - Optional corp; - Optional group; - Optional credit; - Optional nextTariff; - std::vector > userdata; - Optional > services; - Optional creditExpire; - Optional ips; + std::optional password; + std::optional passive; + std::optional disabled; + std::optional disabledDetailStat; + std::optional alwaysOnline; + std::optional tariffName; + std::optional address; + std::optional phone; + std::optional email; + std::optional note; + std::optional realName; + std::optional corp; + std::optional group; + std::optional credit; + std::optional nextTariff; + std::vector > userdata; + std::optional > services; + std::optional creditExpire; + std::optional ips; }; //----------------------------------------------------------------------------- }