From 17354c929389565008718e0994ad3203807e49ba Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Thu, 30 May 2019 11:56:17 +0900 Subject: [PATCH] Allow copy constructor and assign operator of PkgQueryInterface PkgQueryInterface was changed to using shared ptr of PkgHandle object which has actual query data. Change-Id: Iffec5a63de2236cc62cbcc8a6bba743962ad9583 Signed-off-by: Sangyoon Jang --- src/common/pkgmgr_query.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/pkgmgr_query.h b/src/common/pkgmgr_query.h index 816f39b..30b9c52 100644 --- a/src/common/pkgmgr_query.h +++ b/src/common/pkgmgr_query.h @@ -52,8 +52,6 @@ class PkgQueryInterface { using DependencyInfo = std::tuple; PkgQueryInterface(const std::string& pkgid, uid_t uid, bool refresh = false); - PkgQueryInterface(const PkgQueryInterface&) = delete; - PkgQueryInterface& operator=(const PkgQueryInterface&) = delete; ~PkgQueryInterface(); bool IsValid(); -- 2.7.4