aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/hash.hh
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-12 21:12:36 +0000
committerJohn Ericson <John.Ericson@Obsidian.Systems>2020-06-12 21:32:30 +0000
commitf6f01416b71f239c0d9594f5c6201dfd208fe8c4 (patch)
treef8553504b0b9630ba8fef19ccfd9668b1f70c5e1 /src/libutil/hash.hh
parent2853ba4ab26c254d564aee9e75fe8f9f664b94fc (diff)
Use `std::string_view` in a few more places
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 5080539b2..180fb7633 100644
--- a/src/libutil/hash.hh
+++ b/src/libutil/hash.hh
@@ -42,7 +42,7 @@ struct Hash
Subresource Integrity hash expression). If the 'type' argument
is htUnknown, then the hash type must be specified in the
string. */
- Hash(const std::string & s, HashType type = htUnknown);
+ Hash(std::string_view s, HashType type = htUnknown);
void init();