X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=adaptors%2Fdevel-api%2Fadaptor-framework%2Finput-method-options.cpp;h=6b1401cca2712bf5863ba3e4376e2c01b710028d;hb=refs%2Fchanges%2F13%2F159413%2F2;hp=b2d0b004cbb1069c0eb588829892e7769f825eff;hpb=8b6f171005420da365e46cae684283931282eea8;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/adaptors/devel-api/adaptor-framework/input-method-options.cpp b/adaptors/devel-api/adaptor-framework/input-method-options.cpp index b2d0b00..6b1401c 100644 --- a/adaptors/devel-api/adaptor-framework/input-method-options.cpp +++ b/adaptors/devel-api/adaptor-framework/input-method-options.cpp @@ -47,7 +47,13 @@ struct InputMethodOptions::Impl InputMethodOptions::InputMethodOptions() { - mImpl = new Impl( ); + mImpl.reset(new Impl()); +} + +InputMethodOptions::~InputMethodOptions() +{ + // destructor cannot be inlined and must be in a unit + // for unique_ptr to work with forward declaration } bool InputMethodOptions::IsPassword()