Fixed issue with boost 1.67 time_duration values
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user