From 0086b0546831bcd70814bd732c1aad9ecfc38d3b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 23 Oct 2018 13:21:23 +0300 Subject: Adapt to inheriting butl::invalid_path from std::invalid_argument --- bpkg/manifest-utility.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bpkg/manifest-utility.cxx') diff --git a/bpkg/manifest-utility.cxx b/bpkg/manifest-utility.cxx index 484ba32..c329108 100644 --- a/bpkg/manifest-utility.cxx +++ b/bpkg/manifest-utility.cxx @@ -131,14 +131,14 @@ namespace bpkg dr << endf; } } - catch (const invalid_argument& e) - { - fail << "invalid repository location '" << s << "': " << e << endf; - } catch (const invalid_path& e) { fail << "invalid repository path '" << s << "': " << e << endf; } + catch (const invalid_argument& e) + { + fail << "invalid repository location '" << s << "': " << e << endf; + } catch (const system_error& e) { fail << "failed to guess repository type for '" << s << "': " << e << endf; -- cgit v1.1