Make function name unique.

GitOrigin-RevId: 2d8e805b36376e2c5f2a5630794ed9797254496c
This commit is contained in:
levlam 2020-10-02 13:22:06 +03:00
parent 86e7186bae
commit 187ebc603c
3 changed files with 3 additions and 3 deletions

View File

@ -266,7 +266,7 @@ void Global::add_location_access_hash(double latitude, double longitude, int64 a
location_access_hashes_[get_location_key(latitude, longitude)] = access_hash;
}
double get_server_time() {
double get_global_server_time() {
return G()->server_time();
}

View File

@ -450,6 +450,6 @@ inline Global *G_impl(const char *file, int line) {
return static_cast<Global *>(context);
}
double get_server_time();
double get_global_server_time();
} // namespace td

View File

@ -36,7 +36,7 @@ void store_time(double time_at, StorerT &storer) {
} else {
double time_left = max(time_at - Time::now(), 0.0);
store(time_left, storer);
store(get_server_time(), storer);
store(get_global_server_time(), storer);
}
}