git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start replacing notifiers with subscriptions.
[stg.git]
/
projects
/
stargazer
/
plugins
/
configuration
/
sgconfig
/
parser_users.h
diff --git
a/projects/stargazer/plugins/configuration/sgconfig/parser_users.h
b/projects/stargazer/plugins/configuration/sgconfig/parser_users.h
index b9d5fce464392d42a21e4fb60b37111d1b4298c0..a56acffc74ee47fa7efb0fbe5912cac95bd5112a 100644
(file)
--- a/
projects/stargazer/plugins/configuration/sgconfig/parser_users.h
+++ b/
projects/stargazer/plugins/configuration/sgconfig/parser_users.h
@@
-26,9
+26,9
@@
#include "stg/user_conf.h"
#include "stg/user_stat.h"
#include "stg/common.h"
#include "stg/user_conf.h"
#include "stg/user_stat.h"
#include "stg/common.h"
-#include "stg/optional.h"
#include <string>
#include <string>
+#include <optional>
namespace STG
{
namespace STG
{
@@
-160,8
+160,8
@@
class CHG_USER: public BASE_PARSER
const Tariffs & m_tariffs;
UserStatOpt m_usr;
UserConfOpt m_ucr;
const Tariffs & m_tariffs;
UserStatOpt m_usr;
UserConfOpt m_ucr;
-
O
ptional<uint64_t> m_upr[DIR_NUM];
-
O
ptional<uint64_t> m_downr[DIR_NUM];
+
std::o
ptional<uint64_t> m_upr[DIR_NUM];
+
std::o
ptional<uint64_t> m_downr[DIR_NUM];
std::string m_cashMsg;
std::string m_login;
bool m_cashMustBeAdded;
std::string m_cashMsg;
std::string m_login;
bool m_cashMustBeAdded;