Fixed issue with boost 1.67 time_duration values

This commit is contained in:
Lucas Rooyakkers
2018-06-20 19:24:33 -04:00
parent cb74ba2be8
commit 281f66060d
8 changed files with 26 additions and 26 deletions
+4 -4
View File
@@ -35,7 +35,7 @@ namespace foo {
bool d_debug;
bool d_quit;
bool d_finished;
float d_interval;
long d_interval;
boost::thread *d_thread;
gr::thread::mutex d_mutex;
boost::mt19937 d_rng;
@@ -44,15 +44,15 @@ namespace foo {
public:
random_periodic_msg_source_impl(int msg_len,
float interval, int num_msg,
long interval, int num_msg,
bool quit, bool debug, int seed);
virtual ~random_periodic_msg_source_impl();
void set_nmsg(int nmsg);
int get_nmsg();
void set_delay(float delay);
float get_delay();
void set_delay(long delay);
long get_delay();
void start_tx();
void stop_tx();