aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/check_fetched_files_visitor.cc
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2011-10-06 22:29:24 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2011-10-14 23:04:28 +0100
commit38afd6f9261696766d9bd304bd2e8712b5890f2a (patch)
tree7e168f6f5c02c63d88877f7fac85e64e2744c470 /paludis/repositories/e/check_fetched_files_visitor.cc
parent2ff049ddef190325fac1a1933c71a5884a64478f (diff)
downloadpaludis-38afd6f9261696766d9bd304bd2e8712b5890f2a.tar.gz
paludis-38afd6f9261696766d9bd304bd2e8712b5890f2a.tar.xz
Make MemoisedHashes use DigestRegistry
Diffstat (limited to 'paludis/repositories/e/check_fetched_files_visitor.cc')
-rw-r--r--paludis/repositories/e/check_fetched_files_visitor.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/repositories/e/check_fetched_files_visitor.cc b/paludis/repositories/e/check_fetched_files_visitor.cc
index 94f436569..d80bd4a0b 100644
--- a/paludis/repositories/e/check_fetched_files_visitor.cc
+++ b/paludis/repositories/e/check_fetched_files_visitor.cc
@@ -252,7 +252,7 @@ CheckFetchedFilesVisitor::check_distfile_manifest(const FSPath & distfile)
if (! m->rmd160().empty())
{
- std::string rmd160hexsum(hashes->get<RMD160>(distfile, file_stream));
+ std::string rmd160hexsum(hashes->get("RMD160", distfile, file_stream));
if (rmd160hexsum != m->rmd160())
{
@@ -273,7 +273,7 @@ CheckFetchedFilesVisitor::check_distfile_manifest(const FSPath & distfile)
if (! m->sha1().empty())
{
- std::string sha1hexsum(hashes->get<SHA1>(distfile, file_stream));
+ std::string sha1hexsum(hashes->get("SHA1", distfile, file_stream));
if (sha1hexsum != m->sha1())
{
@@ -294,7 +294,7 @@ CheckFetchedFilesVisitor::check_distfile_manifest(const FSPath & distfile)
if (! m->sha256().empty())
{
- std::string sha256hexsum(hashes->get<SHA256>(distfile, file_stream));
+ std::string sha256hexsum(hashes->get("SHA256", distfile, file_stream));
if (sha256hexsum != m->sha256())
{
@@ -315,7 +315,7 @@ CheckFetchedFilesVisitor::check_distfile_manifest(const FSPath & distfile)
if (! m->md5().empty())
{
- std::string md5hexsum(hashes->get<MD5>(distfile, file_stream));
+ std::string md5hexsum(hashes->get("MD5", distfile, file_stream));
if (md5hexsum != m->md5())
{