Skip to content

Commit 9ca12c5

Browse files
committed
update vcpkg
1 parent 4432afa commit 9ca12c5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Dice/ManagerSystem.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ class User :public AnysTable
6666
int nTrust = 0;
6767
time_t tCreated = 0;
6868

69-
explicit User(long long id): ID(id){
70-
dict["tCreated"] = tCreated = time(nullptr);
69+
explicit User(long long id): ID(id), tCreated(time(nullptr)) {
70+
dict["tCreated"] = (long long)tCreated;
7171
}
7272
unordered_map<long long, string> strNick{};
7373
mutable std::mutex ex_user;
@@ -157,8 +157,8 @@ class Chat :public AnysTable {
157157
long long inviter = 0;
158158
time_t tCreated = 0;
159159

160-
explicit Chat(long long id):ID(id) {
161-
dict["tCreated"] = tCreated = time(nullptr);
160+
explicit Chat(long long id):ID(id), tCreated(time(nullptr)) {
161+
dict["tCreated"] = (long long)tCreated;
162162
}
163163

164164
unordered_map<long long, AnysTable>ChConf;

vcpkg

Submodule vcpkg updated 7101 files

0 commit comments

Comments
 (0)