Change-Id: Ic004a4c09767663616215509f8b505c510ebea84
Signed-off-by: jyong2.kim <jyong2.kim@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1383
Reviewed-by: Hun-je Yeon <hunje.yeon@samsung.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Madan Lanka <lanka.madan@samsung.com>
Reviewed-by: Uze Choi <uzchoi@samsung.com>
presenceItem = ResourcePresencePtr(new ResourcePresence(pResource));
s_presenceList->push_back(presenceItem);
}
- else
- {
- presenceItem->addBrokerRequesterCB(cb);
- }
+ presenceItem->addBrokerRequesterCB(cb);
return ret;
}