aboutsummaryrefslogtreecommitdiffhomepage
path: root/tdutils/td/utils/TimedStat.h
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2018-07-25 23:10:31 +0300
committerlevlam <levlam@telegram.org>2018-07-25 23:10:31 +0300
commit236636e129d48881b2841c0c3c5fe2f9ca21d1f0 (patch)
treeb82f48c1310b5513b788750bb8d8706704517f27 /tdutils/td/utils/TimedStat.h
parentc63aaf7cdec70dbb52992771c788fe3f4b834308 (diff)
Comment CHECK, which causes accidental crashes.
GitOrigin-RevId: 3c38dc83dace61208990911aecd03be1ffa86dc7
Diffstat (limited to 'tdutils/td/utils/TimedStat.h')
-rw-r--r--tdutils/td/utils/TimedStat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdutils/td/utils/TimedStat.h b/tdutils/td/utils/TimedStat.h
index fc4197470..887a9b212 100644
--- a/tdutils/td/utils/TimedStat.h
+++ b/tdutils/td/utils/TimedStat.h
@@ -48,7 +48,7 @@ class TimedStat {
void update(double &now) {
if (now < next_timestamp_) {
- CHECK(now >= next_timestamp_ * (1 - 1e-14)) << now << " " << next_timestamp_;
+ // CHECK(now >= next_timestamp_ * (1 - 1e-14)) << now << " " << next_timestamp_;
now = next_timestamp_;
}
if (duration_ == 0) {