1
0
Fork 0
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:
Carlo Nucera 2020-07-02 11:09:04 -04:00
parent 27c8029573
commit f61bc45d19
2 changed files with 5 additions and 7 deletions

View file

@ -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. */