Fix warning
This commit is contained in:
parent
aa99005004
commit
a6d00a7bfb
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue