aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/par_hash/par_hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/hash/par_hash/par_hash.cpp')
-rw-r--r--src/lib/hash/par_hash/par_hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/hash/par_hash/par_hash.cpp b/src/lib/hash/par_hash/par_hash.cpp
index 12271640a..57140f0a8 100644
--- a/src/lib/hash/par_hash/par_hash.cpp
+++ b/src/lib/hash/par_hash/par_hash.cpp
@@ -17,7 +17,7 @@ Parallel* Parallel::make(const Spec& spec)
for(size_t i = 0; i != spec.arg_count(); ++i)
{
- std::unique_ptr<HashFunction> h(get_hash_function(spec.arg(i)));
+ auto h = HashFunction::create(spec.arg(i));
if(!h)
return nullptr;
hashes.push_back(std::move(h));