git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Hide or add proper copy ctor and assignement operator, initialize
[stg.git]
/
projects
/
stargazer
/
user_impl.h
diff --git
a/projects/stargazer/user_impl.h
b/projects/stargazer/user_impl.h
index 3701bdd0f8834c5f165ba3aa540afbdc38397dd2..7aab735d41ddde04c2bc3242c949bf0e52ee360a 100644
(file)
--- a/
projects/stargazer/user_impl.h
+++ b/
projects/stargazer/user_impl.h
@@
-196,7
+196,6
@@
public:
void MidnightResetSessionStat();
void ProcessDayFee();
void MidnightResetSessionStat();
void ProcessDayFee();
- void SetPrepaidTraff();
void ProcessDayFeeSpread();
void ProcessNewMonth();
void ProcessDayFeeSpread();
void ProcessNewMonth();
@@
-207,6
+206,8
@@
public:
void OnDelete();
private:
void OnDelete();
private:
+ USER_IMPL & operator=(const USER_IMPL & rvalue);
+
const USERS * users;
USER_PROPERTIES property;
STG_LOGGER & WriteServLog;
const USERS * users;
USER_PROPERTIES property;
STG_LOGGER & WriteServLog;
@@
-215,6
+216,8
@@
private:
void Disconnect(bool fakeDisconnect, const std::string & reason);
int SaveMonthStat(int month, int year);
void Disconnect(bool fakeDisconnect, const std::string & reason);
int SaveMonthStat(int month, int year);
+ void SetPrepaidTraff();
+
int SendMessage(STG_MSG & msg) const;
void ScanMessage();
int SendMessage(STG_MSG & msg) const;
void ScanMessage();
@@
-304,7
+307,7
@@
private:
CHG_PASSIVE_NOTIFIER passiveNotifier;
CHG_TARIFF_NOTIFIER tariffNotifier;
CHG_CASH_NOTIFIER cashNotifier;
CHG_PASSIVE_NOTIFIER passiveNotifier;
CHG_TARIFF_NOTIFIER tariffNotifier;
CHG_CASH_NOTIFIER cashNotifier;
- CHG_IPS_NOTIFIER
ipNotifier;
+ CHG_IPS_NOTIFIER ipNotifier;
mutable pthread_mutex_t mutex;
mutable pthread_mutex_t mutex;