|
@@ -155,11 +155,6 @@ void location_card::push(uint64_t timestamp,const point & p,int32_t areaid,int32
|
|
|
m_d.emplace(p,timestamp);
|
|
|
return ;
|
|
|
}
|
|
|
- if (bclose) //卡移除后直接更新his_location
|
|
|
- {
|
|
|
- update(p,timestamp,true);
|
|
|
- return;
|
|
|
- }
|
|
|
|
|
|
if(!is_valid())
|
|
|
{
|
|
@@ -184,6 +179,12 @@ void location_card::push(uint64_t timestamp,const point & p,int32_t areaid,int32
|
|
|
insert();
|
|
|
return;
|
|
|
}
|
|
|
+ if (bclose) //卡移除后直接更新his_location
|
|
|
+ {
|
|
|
+ update(p,timestamp,true);
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
bool flag=false;
|
|
|
int iflag=0;
|
|
|
//判断是否路径发生了变化
|