init variable in constructor, not header
This commit is contained in:
parent
9889a8943c
commit
9e94c406fd
|
@ -36,6 +36,7 @@ Universe::Universe(Source* src)
|
|||
, active_data_slots(1) // start code
|
||||
, provenance_(std::make_shared<DATA::data_header>())
|
||||
, source_(src)
|
||||
, sync_sequence_(0)
|
||||
, tx_worker_(&Universe::tx_loop_, this)
|
||||
{
|
||||
destination.type = ACN::SDT::SDT_ADDR_NULL;
|
||||
|
|
|
@ -123,7 +123,7 @@ private:
|
|||
/// > every packet sent on that universe. There is no implied relationship
|
||||
/// > between the sequence number of an E1.31 Synchronization Packet and
|
||||
/// > the sequence number of an E1.31 Data Packet on that same universe.
|
||||
uint8_t sync_sequence_ = 0;
|
||||
uint8_t sync_sequence_;
|
||||
|
||||
std::condition_variable_any tx_request_;
|
||||
std::mutex tx_control_mutex_;
|
||||
|
|
Loading…
Reference in New Issue