OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ab4fd0
)
remove unused QPODVector::insertBlank() method
author
Ivailo Monev
<xakepa10@gmail.com>
Thu, 30 Sep 2021 16:02:25 +0000
(19:02 +0300)
committer
Ivailo Monev
<xakepa10@gmail.com>
Thu, 30 Sep 2021 16:02:25 +0000
(19:02 +0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/declarative/qml/qpodvector_p.h
patch
|
blob
|
history
diff --git
a/src/declarative/qml/qpodvector_p.h
b/src/declarative/qml/qpodvector_p.h
index
e4b2843
..
4d7c5f1
100644
(file)
--- 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)