mirror of
https://github.com/esphome/esphome.git
synced 2025-07-28 22:26:36 +00:00
[core] Match LockFreeQueue initialization order (#9813)
This commit is contained in:
parent
a994ad3642
commit
7bfb08e602
@ -29,7 +29,7 @@ namespace esphome {
|
||||
// Base lock-free queue without task notification
|
||||
template<class T, uint8_t SIZE> class LockFreeQueue {
|
||||
public:
|
||||
LockFreeQueue() : head_(0), tail_(0), dropped_count_(0) {}
|
||||
LockFreeQueue() : dropped_count_(0), head_(0), tail_(0) {}
|
||||
|
||||
bool push(T *element) {
|
||||
bool was_empty;
|
||||
|
Loading…
x
Reference in New Issue
Block a user