aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2023-03-30 16:29:13 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2023-03-30 16:29:13 -0400
commita6d00a7bfb18e7ec461ac1d54203cc628aca5c66 (patch)
treec18e03d8b16001dc7552e34ba7368793d4c5d2e3 /src
parentaa99005004bccc9be506a2a2f162f78bad4bcb41 (diff)
Fix warning
Diffstat (limited to 'src')
-rw-r--r--src/libstore/binary-cache-store.cc2
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;