From 0b752c07ef9a2597f1a8f6e910291eed3376e8aa Mon Sep 17 00:00:00 2001 From: Peter Horvath <ejcspii@gmail.com> Date: Sat, 30 Jun 2018 15:22:25 +0200 Subject: Unbreak boost 1.67. Constrain the delay in message_strobe to integer milliseconds. --- gr-blocks/lib/message_strobe_random_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gr-blocks/lib/message_strobe_random_impl.h') diff --git a/gr-blocks/lib/message_strobe_random_impl.h b/gr-blocks/lib/message_strobe_random_impl.h index 2dcaa7effa..786f3288f6 100644 --- a/gr-blocks/lib/message_strobe_random_impl.h +++ b/gr-blocks/lib/message_strobe_random_impl.h @@ -43,7 +43,7 @@ namespace gr { message_strobe_random_distribution_t d_dist; pmt::pmt_t d_msg; void run(); - float next_delay(); + long next_delay(); boost::mt19937 d_rng; boost::shared_ptr< boost::variate_generator <boost::mt19937, boost::poisson_distribution<> > > d_variate_poisson; -- cgit v1.2.3