From ace3a94e08efc753f702d7d607d6b9acee6328f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com> Date: Sat, 19 Feb 2022 16:31:58 -0500 Subject: [PATCH] scheduler: remove debug log This reverts commit 5d771e119cf04e459216fa2500039bd58edc3c9a. --- include/opendht/scheduler.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/include/opendht/scheduler.h b/include/opendht/scheduler.h index 1f7b9bcc..01cee921 100644 --- a/include/opendht/scheduler.h +++ b/include/opendht/scheduler.h @@ -84,7 +84,6 @@ public: * @return The time for the next job to run. */ time_point run() { - size_t count {0}; while (not timers.empty()) { auto timer = timers.begin(); /* @@ -100,9 +99,7 @@ public: if (job->do_) job->do_(); - count++; } - std::cerr << "run " << count << " scheduled " << timers.size() << std::endl; return getNextJobTime(); } -- GitLab