Remove useless exception copy
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
co-authored by
Eelco Dolstra
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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user