mirror of
https://github.com/NixOS/nix.git
synced 2025-11-13 14:02:42 +01:00
Use std::string_view in a few more places
This commit is contained in:
parent
2853ba4ab2
commit
f6f01416b7
6 changed files with 12 additions and 12 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue