From ff762fb499be220ccd680f3bf68dca44a902a5ff Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 3 Dec 2008 16:10:17 +0000 Subject: * Pass HashType values instead of strings. --- src/libstore/local-store.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstore/local-store.hh') diff --git a/src/libstore/local-store.hh b/src/libstore/local-store.hh index 3d47446f6e40..77e46fc3cc27 100644 --- a/src/libstore/local-store.hh +++ b/src/libstore/local-store.hh @@ -90,7 +90,7 @@ public: const Path & path, SubstitutablePathInfo & info); Path addToStore(const Path & srcPath, - bool recursive = true, string hashAlgo = "sha256", + bool recursive = true, HashType hashAlgo = htSHA256, PathFilter & filter = defaultPathFilter); Path addTextToStore(const string & name, const string & s, -- cgit 1.4.1