summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_internal.h
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2018-12-21 13:20:55 -0500
committerBilly Donahue <billy.donahue@mongodb.com>2019-01-04 10:59:23 -0500
commit76b0fcea6960274d23a3bd1245a0e55e3cb08369 (patch)
treea940e8865bce4d32018f13fc106953029a07042d /src/mongo/db/pipeline/document_internal.h
parent4ce0ebb3f0a0f21073f729e54434b379fd2c35e9 (diff)
downloadmongo-76b0fcea6960274d23a3bd1245a0e55e3cb08369.tar.gz
SERVER-36644 re-enable -Wclass-memaccess warning (w/AtomicWord refactor)
Diffstat (limited to 'src/mongo/db/pipeline/document_internal.h')
-rw-r--r--src/mongo/db/pipeline/document_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document_internal.h b/src/mongo/db/pipeline/document_internal.h
index 82310f15ecb..ced49bcbe60 100644
--- a/src/mongo/db/pipeline/document_internal.h
+++ b/src/mongo/db/pipeline/document_internal.h
@@ -380,7 +380,7 @@ private:
/// Initialize empty hash table
void hashTabInit() {
- memset(_hashTab, -1, hashTabBytes());
+ memset(static_cast<void*>(_hashTab), -1, hashTabBytes());
}
static unsigned hashKey(StringData name) {