From 824621e6f933189a0a44b98a422580d954e1d8ee Mon Sep 17 00:00:00 2001 From: "arya.k" Date: Tue, 6 Oct 2015 16:23:16 +0530 Subject: [PATCH] [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 --- .../examples/tizen/ContainerServerApp/src/container.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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++) -- 2.7.4