From ab8c659fd2e7d1938740472327cf56843e4fd90a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 9 Jul 2018 17:23:00 +0300 Subject: Adapt to repository_url(string) ctor throwing invalid_argument for empty string --- bpkg/manifest-utility.cxx | 4 ---- 1 file changed, 4 deletions(-) (limited to 'bpkg/manifest-utility.cxx') diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx index fcda389..484ba32 100644 --- a/bpkg/manifest-utility.cxx +++ b/bpkg/manifest-utility.cxx @@ -93,10 +93,6 @@ namespace bpkg try { repository_url u (s); - - if (u.empty ()) - fail << "empty repository location"; - assert (u.path); // Make the relative path absolute using the current directory. -- cgit v1.1