From: Sudarshan Prasad Date: Tue, 30 Dec 2014 19:00:40 +0000 (-0800) Subject: Fixed multiple declarations issue X-Git-Tag: 0.9.1-alpha1~38^2~286 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=baa55fc9db462b2e0c604c6bd6cdc77907e532dd;p=contrib%2Fiotivity.git Fixed multiple declarations issue Thanks to Sam for finding the issue. Change-Id: I357f83c043dc9aa5a7c0f8513eddf18514188269 Signed-Off-By: Sudarshan Prasad --- diff --git a/resource/examples/simpleclientHQ.cpp b/resource/examples/simpleclientHQ.cpp index f1c0f4d..5a3d9e2 100644 --- a/resource/examples/simpleclientHQ.cpp +++ b/resource/examples/simpleclientHQ.cpp @@ -407,9 +407,8 @@ int main(int argc, char* argv[]) { { // Find all resources #ifdef CA_INT - OCConnectivityType connectivityType = OC_WIFI; OCPlatform::findResource("", "coap://224.0.1.187/oc/core?rt=core.light", - connectivityType, &foundResource, OC::QualityOfService::LowQos); + OC_WIFI, &foundResource, OC::QualityOfService::LowQos); #else OCPlatform::findResource("", "coap://224.0.1.187/oc/core?rt=core.light", &foundResource, OC::QualityOfService::LowQos); @@ -420,9 +419,8 @@ int main(int argc, char* argv[]) { // These resources will have the same uniqueidentifier (yet be different objects), so that // we can verify/show the duplicate-checking code in foundResource(above); #ifdef CA_INT - OCConnectivityType connectivityType = OC_WIFI; OCPlatform::findResource("", "coap://224.0.1.187/oc/core?rt=core.light", - connectivityType, &foundResource, OC::QualityOfService::LowQos); + OC_WIFI, &foundResource, OC::QualityOfService::LowQos); #else OCPlatform::findResource("", "coap://224.0.1.187/oc/core?rt=core.light", &foundResource, OC::QualityOfService::LowQos);