From: Pawel Andruszkiewicz Date: Thu, 11 Jun 2015 07:13:47 +0000 (+0200) Subject: [Account] Disabled move and copy operations in AccountInstance. X-Git-Tag: submit/tizen/20150702.103311^2~2^2~62^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0bd107929bcad6ba820b960e88431d505a664651;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Account] Disabled move and copy operations in AccountInstance. Prevent CID: 388376, 404846 [Verification] TCT pass rate: 100% Change-Id: Ieb1c60a57357156ab935c6a697715236f41d8c30 Signed-off-by: Pawel Andruszkiewicz --- diff --git a/src/account/account_instance.h b/src/account/account_instance.h index 70e0af93..9651cfb6 100755 --- a/src/account/account_instance.h +++ b/src/account/account_instance.h @@ -34,6 +34,11 @@ class AccountInstance : public common::ParsedInstance { void InvokeListener(picojson::object& param); private: + AccountInstance(const AccountInstance&) = delete; + AccountInstance(const AccountInstance&&) = delete; + AccountInstance& operator=(const AccountInstance&) = delete; + AccountInstance& operator=(const AccountInstance&&) = delete; + AccountManager* manager_; account_subscribe_h subscribe_;