Commit 53b84166 authored by wonny's avatar wonny Committed by Uze Choi

(IOT-1014) modified sceneCollectionResource

resolved jira issue IOT-1014

When scene execute, this issue is caused by not adding scene name 
in SceneCollectionResource. 

modified parameter in execute API.

Change-Id: I0c78bcd9523f2f425832c0d4934a1b9abd560d81
Signed-off-by: default avatarwonny <jw_wonny.cha@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/6199Reviewed-by: default avatarJungYong KIM <jyong2.kim@samsung.com>
Reviewed-by: default avatarUze Choi <uzchoi@samsung.com>
Tested-by: default avatarUze Choi <uzchoi@samsung.com>
parent dfcdec11
......@@ -187,7 +187,7 @@ namespace OIC
}
m_sceneCollectionResourceObject->setAttribute(
SCENE_KEY_LAST_SCENE, std::move(sceneName));
SCENE_KEY_LAST_SCENE, sceneName);
{
std::lock_guard<std::mutex> memberlock(m_sceneMemberLock);
......@@ -196,7 +196,7 @@ namespace OIC
shared_from_this(), std::move(executeCB));
for (auto & it : m_sceneMembers)
{
it->execute(sceneName, std::bind(
it->execute(std::move(sceneName), std::bind(
&SceneExecuteResponseHandler::onResponse, executeHandler,
std::placeholders::_1, std::placeholders::_2));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment