diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2023-03-30 16:29:13 -0400 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2023-03-30 16:29:13 -0400 |
commit | a6d00a7bfb18e7ec461ac1d54203cc628aca5c66 (patch) | |
tree | c18e03d8b16001dc7552e34ba7368793d4c5d2e3 /src | |
parent | aa99005004bccc9be506a2a2f162f78bad4bcb41 (diff) |
Fix warning
Diffstat (limited to 'src')
-rw-r--r-- | src/libstore/binary-cache-store.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/binary-cache-store.cc b/src/libstore/binary-cache-store.cc index 9eae8d534..628e9b9db 100644 --- a/src/libstore/binary-cache-store.cc +++ b/src/libstore/binary-cache-store.cc @@ -450,7 +450,7 @@ StorePath BinaryCacheStore::addTextToStore( RepairFlag repair) { auto textHash = hashString(htSHA256, s); - auto path = makeTextPath(name, TextInfo { textHash, references }); + auto path = makeTextPath(name, TextInfo { { textHash }, references }); if (!repair && isValidPath(path)) return path; |