1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-19 17:31:44 +03:00

Regex: Do not use sized deallocation to support more compilers

This commit is contained in:
Maxime Coste 2017-10-07 22:25:10 +08:00
parent 30dacdade2
commit 73e177ec59

View File

@ -118,7 +118,7 @@ public:
for (size_t i = m_program.save_count-1; i > 0; --i)
saves->pos[i].~Iterator();
saves->~Saves();
::operator delete(saves, sizeof(Saves) + (m_program.save_count-1) * sizeof(Iterator));
::operator delete(saves);
}
}