initialize varibles in the constructor
This commit is contained in:
parent
41530d86c1
commit
874f6482a3
|
@ -37,6 +37,7 @@ Universe::Universe(Source* src)
|
|||
, source_(src)
|
||||
, active_data_slots_(1) // start code
|
||||
, sync_sequence_(0)
|
||||
, tx_enable_(true)
|
||||
, tx_worker_(&Universe::tx_loop_, this)
|
||||
{
|
||||
destination.type = ACN::SDT::SDT_ADDR_NULL;
|
||||
|
|
|
@ -129,7 +129,7 @@ private:
|
|||
|
||||
std::condition_variable_any tx_request_;
|
||||
std::mutex tx_control_mutex_;
|
||||
bool tx_enable_ = true;
|
||||
bool tx_enable_;
|
||||
std::thread tx_worker_;
|
||||
void tx_loop_();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue