X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/e9ae1f101b5418c0ba2e6c9d86b23c12f0140982..ebd170a764ab9660adee464588cda1801c7986b4:/include/stg/user_stat.h 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;