aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-03-16 10:32:58 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-16 10:32:58 +0300
commit5f75406495f06b75eb10b3456a1ca550f4e55b61 (patch)
tree6a452dbcb3df90d8c57a10a2e16a5914cfdc2a44
parent9ffd711094b68d8ce5bb464621020ccc993d787c (diff)
Use package_manifest() ctor
-rw-r--r--bpkg/pkg-verify.cxx4
-rw-r--r--bpkg/rep-fetch.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/bpkg/pkg-verify.cxx b/bpkg/pkg-verify.cxx
index bb2f3b8..3d96136 100644
--- a/bpkg/pkg-verify.cxx
+++ b/bpkg/pkg-verify.cxx
@@ -39,7 +39,7 @@ namespace bpkg
{
ifdstream is (move (pr.second.in_ofd), fdstream_mode::skip);
manifest_parser mp (is, mf.string ());
- package_manifest m (pkg_package_manifest (mp, iu));
+ package_manifest m (mp, iu);
is.close ();
if (wait ())
@@ -129,7 +129,7 @@ namespace bpkg
{
ifdstream ifs (mf);
manifest_parser mp (ifs, mf.string ());
- package_manifest m (pkg_package_manifest (mp, iu));
+ package_manifest m (mp, iu);
// We used to verify package directory is <name>-<version> but it is
// not clear why we should enforce it in this case (i.e., the user
diff --git a/bpkg/rep-fetch.cxx b/bpkg/rep-fetch.cxx
index 00454f9..343f97b 100644
--- a/bpkg/rep-fetch.cxx
+++ b/bpkg/rep-fetch.cxx
@@ -210,7 +210,7 @@ namespace bpkg
{
ifdstream ifs (f);
manifest_parser mp (ifs, f.string ());
- package_manifest m (pkg_package_manifest (mp, iu));
+ package_manifest m (mp, iu);
// Save the package manifest, preserving its location.
//