ENH: optimize track logic

Change-Id: I1fea7eb9681389924c32f3754fc77ee21a3ab898
Signed-off-by: Stone Li <stone.li@bambulab.com>
This commit is contained in:
Stone Li 2023-03-22 08:38:44 +08:00 committed by Lane.Wei
parent 0a1c597da0
commit 36e0cc0b12
3 changed files with 6 additions and 2 deletions

View file

@ -170,9 +170,8 @@ public:
int track_event(std::string evt_key, std::string content);
int track_header(std::string header);
int track_update_property(std::string name, std::string value, std::string type = "string");
private:
bool enable_track = false;
void* network_agent { nullptr };
static func_check_debug_consistent check_debug_consistent_ptr;