From 03d29efd14c26217c522838e36c0fe39e40c1168 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 6 Nov 2017 17:52:53 +0200 Subject: Rename requires to requires_ since it is keyword in C++20 --- libpkgconf/queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpkgconf/queue.c') diff --git a/libpkgconf/queue.c b/libpkgconf/queue.c index 73507fa..fb6eefd 100644 --- a/libpkgconf/queue.c +++ b/libpkgconf/queue.c @@ -77,10 +77,10 @@ pkgconf_queue_compile(pkgconf_client_t *client, pkgconf_pkg_t *world, pkgconf_li pkgconf_queue_t *pkgq; pkgq = iter->data; - pkgconf_dependency_parse(client, world, &world->requires, pkgq->package); + pkgconf_dependency_parse(client, world, &world->requires_, pkgq->package); } - return (world->requires.head != NULL); + return (world->requires_.head != NULL); } /* -- cgit v1.1