following code: _CrtCheckMemory(); vector<Vector3> samples = Po开发者_Go百科issonDisk::generate_poisson(m_resX-1, m_resY-1, minDist, 30, m_samples);
I am trying to use priority_queue, and program constantly fails with error message HEAP CORRUPTION DETECTED.