diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2018-12-21 13:20:55 -0500 |
---|---|---|
committer | Billy Donahue <billy.donahue@mongodb.com> | 2019-01-04 10:59:23 -0500 |
commit | 76b0fcea6960274d23a3bd1245a0e55e3cb08369 (patch) | |
tree | a940e8865bce4d32018f13fc106953029a07042d /src/mongo/db/pipeline/document_internal.h | |
parent | 4ce0ebb3f0a0f21073f729e54434b379fd2c35e9 (diff) | |
download | mongo-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.h | 2 |
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) { |