Remove useless exception copy
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
parent
c29624bf7d
commit
77a0e2c5be
|
@ -1096,7 +1096,7 @@ ref<Store> openStore(const std::string & uri_,
|
|||
}
|
||||
}
|
||||
}
|
||||
catch (BadURL) {
|
||||
catch (BadURL &) {
|
||||
auto [uri, uriParams] = splitUriAndParams(uri_);
|
||||
params.insert(uriParams.begin(), uriParams.end());
|
||||
|
||||
|
|
Loading…
Reference in a new issue