summaryrefslogtreecommitdiffstats
path: root/include/jau
diff options
context:
space:
mode:
Diffstat (limited to 'include/jau')
-rw-r--r--include/jau/fraction_type.hpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/jau/fraction_type.hpp b/include/jau/fraction_type.hpp
index a1560bc..e125671 100644
--- a/include/jau/fraction_type.hpp
+++ b/include/jau/fraction_type.hpp
@@ -849,11 +849,7 @@ namespace jau {
* Example without overflow check and implicit fraction_i64 conversion to fraction_timespec:
* <pre>
fraction_i64 duration = 10_ms;
- bool overflow = false;
const fraction_timespec timeout_time = getMonotonicTime() + duration;
- if( overflow ) {
- return; // bail out
- }
* </pre>
*
* Example with overflow check for potential durations > 292 years and explicit fraction_i64 conversion to fraction_timespec: