Change return type from bool to void for some methods of PrivilegeDb 74/23674/2
authorRafal Krypa <r.krypa@samsung.com>
Mon, 30 Jun 2014 11:24:04 +0000 (13:24 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Tue, 1 Jul 2014 12:52:17 +0000 (14:52 +0200)
commitc6b93ffc13e037418175cec878023c7d24ad82e1
tree383b13f69802fd00aa7df40f5eb3bee3b6f6e644
parent59656a064b41cfec0f8837531653e0c8813f4271
Change return type from bool to void for some methods of PrivilegeDb

Methods GetPkgPermissions, AddApplication, RemoveApplication and
UpdatePermissions had return type set to void. But they didn't return
anything useful. The actual return value was always true or exception
throw.
Changing the types to void will also make usage of these methods simpler.

Change-Id: Id588c314c6aa1af0ea3c17ed02d0f6bf20411193
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
src/server/db/include/privilege_db.h
src/server/db/privilege_db.cpp