wrap placement new in #include "nommgr.h" so that it works with memory tracker enabled
This was SVN commit r3044.
This commit is contained in:
parent
8c437850e6
commit
5d821cc925
@ -362,7 +362,9 @@ static void key2idx_init(void)
|
||||
if(da_set_size(&key2idx_da, size) < 0)
|
||||
goto fail;
|
||||
|
||||
#include "nommgr.h"
|
||||
key2idx_ = new(key2idx_da.base) Key2Idx;
|
||||
#include "mmgr.h"
|
||||
key2idx_lock();
|
||||
return; // success
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user