aboutsummaryrefslogtreecommitdiff
path: root/src/Hash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hash.cpp')
-rw-r--r--src/Hash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hash.cpp b/src/Hash.cpp
index e46e5ba..364cddd 100644
--- a/src/Hash.cpp
+++ b/src/Hash.cpp
@@ -31,7 +31,7 @@ namespace odhtdb
Hash::Hash(const Hash &other)
{
- memcpy(data, other.data, HASH_BYTE_SIZE);
+ memmove(data, other.data, HASH_BYTE_SIZE);
}
size_t Hash::operator()() const