Replace DPL::AutoPtr usage (Warp_iri.cpp)
authorJihoon Chung <jihoon.chung@samsaung.com>
Tue, 8 Oct 2013 14:04:02 +0000 (23:04 +0900)
committerJihoon Chung <jihoon.chung@samsung.com>
Wed, 9 Oct 2013 06:13:46 +0000 (06:13 +0000)
commitd22e2c896091c2e49c49756b8fc6d43cb2b9cd67
tree91bdfe4cf84ba82b693c304371b800e3a740e1d3
parentfb768d524b5166c9d729cdb1043ecbc56d5850a3
Replace DPL::AutoPtr usage (Warp_iri.cpp)

[Issue#]     N/A
[Problem]    DPL::AutoPtr should replace to use standard library.
[Cause]      After C++11 is enabled, std::unique_ptr and std::shared_ptr is available.
             DPL::AutoPtr isn't necessary to exist in the DPL.
[Solution]   DPL::AutoPtr -> std::unique_ptr, std::shared_ptr
             - Warp_iri.cpp uses DPL::AutoPtr to create iri_struct by iri_parse and iri_destory.
               Replace usage to use std::unique_ptr.
[SCMRequest] N/A

Change-Id: Id4582f21e916661bd8c1d07ad1e5dd0e52b36823
modules/utils/src/warp_iri.cpp