OSDN Git Service

generic: replace QVarLengthArray<T> with std::vector<T> and QVector<T>
authorIvailo Monev <xakepa10@gmail.com>
Sun, 30 Jul 2023 18:50:02 +0000 (18:50 +0000)
committerIvailo Monev <xakepa10@gmail.com>
Sun, 30 Jul 2023 18:50:02 +0000 (18:50 +0000)
commit19b46a1c46a1ce06feb332c570108a659e248fd7
tree98e62a91a0873fb02cc0715dacae917992443ac1
parent6354b9e473b9ee747640e13c2f1af2464c4f1cbc
generic: replace QVarLengthArray<T> with std::vector<T> and QVector<T>

std::vector<T> for when the data does not have to be shared (e.g. POD
types) and there is no Q_DECLARE_TYPEINFO() involved, QVector<T> for when
data should be shared

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
kate/part/completion/katecompletionmodel.cpp
kate/part/syntax/katehighlight.cpp
kioslave/sftp/kio_sftp.cpp
konsole/src/Screen.h
kwin/geometry.cpp
kwin/shadow.h