Before boost 1.67 values passed to date_time structs would be auto-converted from floating point numbers to integers. Boost 1.67 disallows this to force user handling of special values (like NaN).
This converts the interval time back to an integer before being sent to posix_time::microseconds.
Fixes https://github.com/balint256/gr-baz/issues/55
Before boost 1.67 values passed to
date_time
structs would be auto-converted from floating point numbers to integers. Boost 1.67 disallows this to force user handling of special values (like NaN).This converts the interval time back to an integer before being sent to
posix_time::microseconds
.