Regex: Do not use sized deallocation to support more compilers
This commit is contained in:
parent
30dacdade2
commit
73e177ec59
|
@ -118,7 +118,7 @@ public:
|
||||||
for (size_t i = m_program.save_count-1; i > 0; --i)
|
for (size_t i = m_program.save_count-1; i > 0; --i)
|
||||||
saves->pos[i].~Iterator();
|
saves->pos[i].~Iterator();
|
||||||
saves->~Saves();
|
saves->~Saves();
|
||||||
::operator delete(saves, sizeof(Saves) + (m_program.save_count-1) * sizeof(Iterator));
|
::operator delete(saves);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user