namespace database {
bool OperationAppFilterChecker::CheckFilter(pkgmgrinfo_node_x* node,
- application_x* info) {
- for (auto* it = info->appcontrol; it != nullptr; it = g_list_next(it)) {
+ application_x* app_info, package_x* pkg_info) {
+ for (auto* it = app_info->appcontrol; it != nullptr; it = g_list_next(it)) {
char* value = reinterpret_cast<appcontrol_x*>(it->data)->operation;
if (value != nullptr && strcmp(value, node->value) == 0)
return true;