X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=service%2Fresource-container%2Fexamples%2FContainerSampleClient.cpp;h=e7ce3f3711fc53fe59d3043edab8a9f7e816fd58;hb=3e9402ad71cb3e93266a77796f44d17bab9853fd;hp=cc97d1d1f21b2f376a0ab11ceab6cdfe1c5e3d76;hpb=17c68b2fd1e74586f85e552eeab4e32dc121f8a0;p=platform%2Fupstream%2Fiotivity.git diff --git a/service/resource-container/examples/ContainerSampleClient.cpp b/service/resource-container/examples/ContainerSampleClient.cpp index cc97d1d..e7ce3f3 100644 --- a/service/resource-container/examples/ContainerSampleClient.cpp +++ b/service/resource-container/examples/ContainerSampleClient.cpp @@ -1,6 +1,6 @@ //****************************************************************** // -// Copyright 2014 Intel Mobile Communications GmbH All Rights Reserved. +// Copyright 2015 Samsung Electronics All Rights Reserved. // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= // @@ -18,8 +18,7 @@ // //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= -// OCClient.cpp : Defines the entry point for the console application. -// + #include #include #include @@ -204,7 +203,7 @@ void postLightRepresentation(std::shared_ptr resource) std::cout << "Posting light representation..." << std::endl; - mylight.m_on_off = "false"; + mylight.m_on_off = false; rep.setValue("on-off", mylight.m_on_off);