aboutsummaryrefslogtreecommitdiff
path: root/libbpkg/manifest.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-03-15 17:56:22 +0200
committerKaren Arutyunov <karen@codesynthesis.com>2018-03-16 13:41:41 +0300
commit2bcd53b098967db5ca0ee069c1475fd5ddc8c890 (patch)
tree46f3661d0d82cf3f18a3be766d227ab48467b4b7 /libbpkg/manifest.hxx
parent6018f3c1eadd5c60902aa5cf4f926ff17cbaf8ab (diff)
Add back parsing constructor to package_manifest
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r--libbpkg/manifest.hxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx
index 0e2ee9d..4d21588 100644
--- a/libbpkg/manifest.hxx
+++ b/libbpkg/manifest.hxx
@@ -384,6 +384,7 @@ namespace bpkg
public:
package_manifest () = default; // VC export.
+ package_manifest (butl::manifest_parser&, bool ignore_unknown = false);
void
serialize (butl::manifest_serializer&) const;
@@ -391,8 +392,11 @@ namespace bpkg
// Create individual package manifest.
//
- LIBBPKG_EXPORT package_manifest
- pkg_package_manifest (butl::manifest_parser&, bool ignore_unknown = false);
+ inline package_manifest
+ pkg_package_manifest (butl::manifest_parser& p, bool ignore_unknown = false)
+ {
+ return package_manifest (p, ignore_unknown);
+ }
LIBBPKG_EXPORT package_manifest
dir_package_manifest (butl::manifest_parser&, bool ignore_unknown = false);