X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e9ae1f101b5418c0ba2e6c9d86b23c12f0140982..80aca6d78d4ff5d514216fe96c44e2ee75c4e933:/include/stg/user_stat.h?ds=sidebyside diff --git a/include/stg/user_stat.h b/include/stg/user_stat.h index a486a56e..0ecd9e15 100644 --- a/include/stg/user_stat.h +++ b/include/stg/user_stat.h @@ -20,7 +20,6 @@ #pragma once -#include "stg/optional.h" #include "user_traff.h" #include @@ -28,6 +27,7 @@ #include #include #include +#include namespace STG { @@ -180,14 +180,14 @@ struct UserStatOpt UserStatOpt(UserStatOpt&&) = default; UserStatOpt& operator=(UserStatOpt&&) = default; - Optional cash; - Optional cashAdd; - Optional cashSet; - Optional freeMb; - Optional lastCashAdd; - Optional lastCashAddTime; - Optional passiveTime; - Optional lastActivityTime; + std::optional cash; + std::optional cashAdd; + std::optional cashSet; + std::optional freeMb; + std::optional lastCashAdd; + std::optional lastCashAddTime; + std::optional passiveTime; + std::optional lastActivityTime; DirTraffOpt sessionUp; DirTraffOpt sessionDown; DirTraffOpt monthUp;