memset only the underlying vector from the Array container

This commit is contained in:
trav90 2018-08-18 15:12:00 -05:00 • committed by Roy Tam
commit bfdfd654bf

View file

@ -515,7 +515,7 @@ class ProtoAndIfaceCache
{ {
public: public:
PageTableCache() { PageTableCache() {
memset(&mPages, 0, sizeof(mPages)); memset(mPages.begin(), 0, sizeof(mPages));
} }
~PageTableCache() { ~PageTableCache() {