From aef171cd9a6948deb379be3515b972a0e9dcce13 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 22 Jan 2018 14:55:48 +0300 Subject: Make repository_url(string) ctor explicit --- libbpkg/manifest.hxx | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx index 905eea1..e00e551 100644 --- a/libbpkg/manifest.hxx +++ b/libbpkg/manifest.hxx @@ -478,26 +478,8 @@ namespace bpkg // the object as a local path if it is absolute and there is no fragment or // authority present. // - struct LIBBPKG_EXPORT repository_url: butl::basic_url - { - using base_type = basic_url; - - using base_type::base_type; - - // Create an empty URL object. - // - repository_url () = default; - - // If the argument is an empty string, then create an empty URL object. If - // the argument is a local path or a file URL then create a local URL - // object. Otherwise create a remote URL object. - // - // May throw std::invalid_argument (unknown URL schema, incorrect syntax, - // unexpected components, etc). - // - repository_url (const string_type& s): base_type (s) {} - }; + using repository_url = butl::basic_url; // Repository type. // -- cgit v1.1