mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
Remove useless exception copy
Co-authored-by: Eelco Dolstra <edolstra@gmail.com>
This commit is contained in:
parent
c29624bf7d
commit
77a0e2c5be
1 changed files with 1 additions and 1 deletions
|
@ -1096,7 +1096,7 @@ ref<Store> openStore(const std::string & uri_,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (BadURL) {
|
catch (BadURL &) {
|
||||||
auto [uri, uriParams] = splitUriAndParams(uri_);
|
auto [uri, uriParams] = splitUriAndParams(uri_);
|
||||||
params.insert(uriParams.begin(), uriParams.end());
|
params.insert(uriParams.begin(), uriParams.end());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue