From 41c2026a10be5fc73986eba037fac6993d5cdb64 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 1 May 2020 18:07:07 +0300 Subject: Rename bpkg::url class to bpkg::manifest_url not to clash with butl::url in some contexts --- libbpkg/manifest.hxx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'libbpkg/manifest.hxx') diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx index 05b6dfc..b82b87e 100644 --- a/libbpkg/manifest.hxx +++ b/libbpkg/manifest.hxx @@ -276,7 +276,7 @@ namespace bpkg // // See libbutl/url.mxx for details. // - class url: public butl::url + class manifest_url: public butl::url { public: std::string comment; @@ -284,9 +284,9 @@ namespace bpkg // Throw invalid_argument on parsing or constraints checking error. // explicit - url (const std::string& u, std::string c = ""); + manifest_url (const std::string& u, std::string c = ""); - url () = default; + manifest_url () = default; }; // email @@ -673,7 +673,6 @@ namespace bpkg public: using version_type = bpkg::version; using priority_type = bpkg::priority; - using url_type = bpkg::url; using email_type = bpkg::email; package_name name; @@ -694,10 +693,10 @@ namespace bpkg butl::optional description; butl::optional description_type; butl::small_vector changes; - butl::optional url; - butl::optional doc_url; - butl::optional src_url; - butl::optional package_url; + butl::optional url; + butl::optional doc_url; + butl::optional src_url; + butl::optional package_url; butl::optional email; butl::optional package_email; butl::optional build_email; -- cgit v1.1