From: arya.k Date: Tue, 6 Oct 2015 10:53:16 +0000 (+0530) Subject: [TIZEN] Update container samples for listBundle APIs to use unique_ptr. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=824621e6f933189a0a44b98a422580d954e1d8ee;p=contrib%2Fiotivity.git [TIZEN] Update container samples for listBundle APIs to use unique_ptr. Change-Id: Id1833d0e5cb3d89438ecd1d2a881ff9015af14ad Signed-off-by: arya.k Reviewed-on: https://gerrit.iotivity.org/gerrit/3609 Tested-by: jenkins-iotivity Reviewed-by: Uze Choi --- diff --git a/service/resource-container/examples/tizen/ContainerServerApp/src/container.cpp b/service/resource-container/examples/tizen/ContainerServerApp/src/container.cpp index 2c11e50..73e6cdd 100644 --- a/service/resource-container/examples/tizen/ContainerServerApp/src/container.cpp +++ b/service/resource-container/examples/tizen/ContainerServerApp/src/container.cpp @@ -68,8 +68,8 @@ static void listBundles(void *data, Evas_Object *obj, void *event_info) if (checkContainer) { - std::list bundles = container->listBundles(); - std::list::iterator bundleIt; + std::list> bundles = container->listBundles(); + std::list>::iterator bundleIt; logMessage += "Bundle List Size : " + to_string(bundles.size()) + "
"; for (bundleIt = bundles.begin(); bundleIt != bundles.end(); bundleIt++)