aboutsummaryrefslogtreecommitdiff
path: root/libbpkg/manifest.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-09-29 16:38:35 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-10-09 21:29:01 +0300
commit82666617352b5b488f6ef59981359bd26376adf7 (patch)
treefd29de420afb9e0255985e9c567de02250d5a0de /libbpkg/manifest.hxx
parent4d005750a87682a6a3fd448011894d7132b02a78 (diff)
Adapt to basic_url API change
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r--libbpkg/manifest.hxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx
index 42e1a24..bae3ffe 100644
--- a/libbpkg/manifest.hxx
+++ b/libbpkg/manifest.hxx
@@ -619,13 +619,14 @@ namespace bpkg
using scheme_type = repository_protocol;
using authority_type = butl::basic_url_authority<string_type>;
- static scheme_type
+ static butl::optional<scheme_type>
translate_scheme (const string_type&,
string_type&&,
butl::optional<authority_type>&,
butl::optional<path_type>&,
butl::optional<string_type>&,
- butl::optional<string_type>&);
+ butl::optional<string_type>&,
+ bool&);
static string_type
translate_scheme (string_type&,
@@ -633,7 +634,8 @@ namespace bpkg
const butl::optional<authority_type>&,
const butl::optional<path_type>&,
const butl::optional<string_type>&,
- const butl::optional<string_type>&);
+ const butl::optional<string_type>&,
+ bool);
static path_type
translate_path (string_type&&);
@@ -738,7 +740,6 @@ namespace bpkg
//
// - may append slash in repository_location ctor
//
- explicit
repository_location (repository_url, repository_type);
// Create a potentially relative pkg repository location. If base is not