From: Ivailo Monev Date: Thu, 30 Sep 2021 16:02:25 +0000 (+0300) Subject: remove unused QPODVector::insertBlank() method X-Git-Tag: 4.12.0~1720 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0e0e16f832b9f0ba139297ecd435ebe2a612c9bd;p=kde%2FKatie.git remove unused QPODVector::insertBlank() method Signed-off-by: Ivailo Monev --- diff --git a/src/declarative/qml/qpodvector_p.h b/src/declarative/qml/qpodvector_p.h index e4b284320..4d7c5f1b6 100644 --- a/src/declarative/qml/qpodvector_p.h +++ b/src/declarative/qml/qpodvector_p.h @@ -87,16 +87,6 @@ public: } } - void insertBlank(int idx, int count) { - int newSize = m_count + count; - reserve(newSize); - int moveCount = m_count - idx; - if (moveCount) - ::memmove(m_data + idx + count, m_data + idx, - moveCount * sizeof(T)); - m_count = newSize; - } - void remove(int idx, int count = 1) { int moveCount = m_count - (idx + count); if (moveCount)