mirror of
https://github.com/NixOS/nix
synced 2025-07-04 19:41:48 +02:00
Get rid of the std::pair
This commit is contained in:
parent
27c8029573
commit
f61bc45d19
2 changed files with 5 additions and 7 deletions
|
@ -49,7 +49,7 @@ struct Hash
|
|||
|
||||
private:
|
||||
// type must be provided, s must not include <type> prefix
|
||||
Hash(std::string_view s, std::pair<HashType, bool> typeAndSRI);
|
||||
Hash(std::string_view s, HashType type, bool isSRI);
|
||||
|
||||
public:
|
||||
/* Check whether a hash is set. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue