From 3a6c4ab1b6fc79a6a543088553cdd6bc8cb0a1dd Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 21 May 2018 21:10:09 +0300 Subject: Adapt to inventing package_name type --- bpkg/pkg-configure.hxx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'bpkg/pkg-configure.hxx') diff --git a/bpkg/pkg-configure.hxx b/bpkg/pkg-configure.hxx index f82c699..2aeb8bb 100644 --- a/bpkg/pkg-configure.hxx +++ b/bpkg/pkg-configure.hxx @@ -5,11 +5,15 @@ #ifndef BPKG_PKG_CONFIGURE_HXX #define BPKG_PKG_CONFIGURE_HXX +#include // version +#include + #include #include // transaction, selected_package #include -#include +#include // package_prerequisites, + // dependencies. #include namespace bpkg @@ -31,7 +35,7 @@ namespace bpkg // Configure a system package and commit the transaction. // shared_ptr - pkg_configure_system (const string& name, const version&, transaction&); + pkg_configure_system (const package_name&, const version&, transaction&); // Return package prerequisites given its dependencies. Fail if some of the // prerequisites are not configured or don't satisfy the package's @@ -42,7 +46,7 @@ namespace bpkg pkg_configure_prerequisites (const common_options&, transaction&, const dependencies&, - const string& package); + const package_name&); } #endif // BPKG_PKG_CONFIGURE_HXX -- cgit v1.1