This makes bus type a type in one more function in addition to commit 7b3249.
Change-Id: I22a119ffc09b3e111e6409006baba1a05d857a50
DEF_NODESTRUCT_GLOBAL(ldp_xml_parser::NaivePolicyChecker, policy_checker)
-NaivePolicyDb& NaivePolicyChecker::getPolicyDb(bool type) {
+NaivePolicyDb& NaivePolicyChecker::getPolicyDb(BusType type) {
return m_bus_db[type];
}
* \param[in] type Type of database (system/session bus)
* \return Returns reference to chosen bus policy db
*/
- NaivePolicyDb& getPolicyDb(bool type);
+ NaivePolicyDb& getPolicyDb(BusType type);
/** Clears all db data, useful for reloading configuration
* during testing.