aboutsummaryrefslogtreecommitdiff
path: root/libbpkg/manifest.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-09 17:32:04 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-09 17:32:04 +0300
commit1b192351dc0ef09423ee9a40d68bacc3137c9aec (patch)
tree9966cdfad17be2fcdc89d0773adb3cb577104f7b /libbpkg/manifest.hxx
parentc5b2691bcb978802aba99b21d42c99d89f550982 (diff)
Make repository_url(string) to throw invalid_argument for empty string
Diffstat (limited to 'libbpkg/manifest.hxx')
-rw-r--r--libbpkg/manifest.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbpkg/manifest.hxx b/libbpkg/manifest.hxx
index 59359b4..72af14c 100644
--- a/libbpkg/manifest.hxx
+++ b/libbpkg/manifest.hxx
@@ -584,6 +584,9 @@ namespace bpkg
// it is absolute and the authority or fragment is present. Otherwise
// represent it as a local path, appending the fragment if present.
//
+ // - repository_url(string) ctor throws invalid_argument exception for an
+ // empty string.
+ //
using repository_url = butl::basic_url<repository_protocol,
repository_url_traits>;