fix merge errors
This commit is contained in:
parent
f9a001a9c2
commit
243c20c468
|
@ -90,7 +90,6 @@ class TaskInterfacesStorage{
|
|||
return true;
|
||||
}
|
||||
GwApi::TaskInterfaces::Ptr get(const String &name, int &result){
|
||||
GWSYNCHRONIZED(lock);
|
||||
GWSYNCHRONIZED(lock);
|
||||
auto it = values.find(name);
|
||||
if (it == values.end())
|
||||
|
@ -245,7 +244,6 @@ public:
|
|||
}
|
||||
};
|
||||
virtual int getJsonSize(){
|
||||
GWSYNCHRONIZED(localLock);
|
||||
GWSYNCHRONIZED(localLock);
|
||||
if (! counterUsed) return 0;
|
||||
int rt=0;
|
||||
|
@ -255,7 +253,6 @@ public:
|
|||
return rt;
|
||||
};
|
||||
virtual void increment(int idx,const String &name,bool failed=false){
|
||||
GWSYNCHRONIZED(localLock);
|
||||
GWSYNCHRONIZED(localLock);
|
||||
counterUsed=true;
|
||||
auto it=counter.find(idx);
|
||||
|
|
Loading…
Reference in New Issue