2
0
mirror of https://github.com/boostorg/timer.git synced 2026-01-24 06:22:12 +00:00

Remove assert to placate inspect; logic handles the case fine

This commit is contained in:
Peter Dimov
2019-01-15 05:27:13 +02:00
parent cd6d875a9a
commit cee372b042

View File

@@ -104,7 +104,6 @@ namespace
tick_factor = -1;
else
{
assert(tick_factor <= INT64_C(1000000000)); // logic doesn't handle large ticks
tick_factor = INT64_C(1000000000) / tick_factor; // compute factor
if (!tick_factor)
tick_factor = -1;