aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.hh
diff options
context:
space:
mode:
authorCarlo Nucera <carlo.nucera@protonmail.com>2020-07-02 11:09:04 -0400
committerCarlo Nucera <carlo.nucera@protonmail.com>2020-07-02 11:09:04 -0400
commitf61bc45d192809a040a359b22f3dbd0722613af6 (patch)
treee34de33d34947ac80cb9bd87f6b608a66c745eb1 /src/libutil/hash.hh
parent27c8029573ab49ad11c069ef547e3c087c73939f (diff)
Get rid of the std::pair
Diffstat (limited to 'src/libutil/hash.hh')
-rw-r--r--src/libutil/hash.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/hash.hh b/src/libutil/hash.hh
index 3e413a52c..4e3591a04 100644
--- a/src/libutil/hash.hh
+++ b/src/libutil/hash.hh
@@ -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. */