Fixed currentUpdatedHandlerId variable appearing multiple times in several build units. (#120)
* Fixed currentUpdatedHandlerId variable appearing multiple times in several build units
This commit is contained in:
parent
0e2124062f
commit
13f97b630f
3
lib/framework/StatefulService.cpp
Normal file
3
lib/framework/StatefulService.cpp
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#include <StatefulService.h>
|
||||||
|
|
||||||
|
update_handler_id_t StateUpdateHandlerInfo::currentUpdatedHandlerId = 0;
|
@ -14,9 +14,9 @@
|
|||||||
|
|
||||||
typedef size_t update_handler_id_t;
|
typedef size_t update_handler_id_t;
|
||||||
typedef std::function<void(const String& originId)> StateUpdateCallback;
|
typedef std::function<void(const String& originId)> StateUpdateCallback;
|
||||||
static update_handler_id_t currentUpdatedHandlerId;
|
|
||||||
|
|
||||||
typedef struct StateUpdateHandlerInfo {
|
typedef struct StateUpdateHandlerInfo {
|
||||||
|
static update_handler_id_t currentUpdatedHandlerId;
|
||||||
update_handler_id_t _id;
|
update_handler_id_t _id;
|
||||||
StateUpdateCallback _cb;
|
StateUpdateCallback _cb;
|
||||||
bool _allowRemove;
|
bool _allowRemove;
|
||||||
|
Loading…
Reference in New Issue
Block a user