aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/path-references.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstore/path-references.cc')
-rw-r--r--src/libstore/path-references.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/path-references.cc b/src/libstore/path-references.cc
index 9ba95f706..d2ed85e52 100644
--- a/src/libstore/path-references.cc
+++ b/src/libstore/path-references.cc
@@ -46,7 +46,7 @@ std::pair<StorePathSet, HashResult> scanForReferences(
const std::string & path,
const StorePathSet & refs)
{
- HashSink hashSink { htSHA256 };
+ HashSink hashSink { HashType::SHA256 };
auto found = scanForReferences(hashSink, path, refs);
auto hash = hashSink.finish();
return std::pair<StorePathSet, HashResult>(found, hash);