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/rep-create.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bpkg/rep-create.cxx') diff --git a/bpkg/rep-create.cxx b/bpkg/rep-create.cxx index d052223..ad63267 100644 --- a/bpkg/rep-create.cxx +++ b/bpkg/rep-create.cxx @@ -11,6 +11,7 @@ #include #include +#include #include #include @@ -28,7 +29,7 @@ namespace bpkg { struct package_key { - string name; + package_name name; bpkg::version version; // There shouldn't be multiple revisions of the same package @@ -111,7 +112,7 @@ namespace bpkg // m.location = a.leaf (root); - dir_path pd (m.name + "-" + m.version.string ()); + dir_path pd (m.name.string () + "-" + m.version.string ()); // Expand the description-file manifest value. // -- cgit v1.1