aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Database.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Database.cpp b/src/Database.cpp
index 77c5e14..da89f2f 100644
--- a/src/Database.cpp
+++ b/src/Database.cpp
@@ -702,6 +702,6 @@ namespace odhtdb
dht::InfoHash Database::getInfoHash(const void *data, usize size)
{
- return dht::InfoHash((const u8*)data, size);
+ return dht::InfoHash::get((const u8*)data, size);
}
}