D11781: Introduce generic Output class
Roman Gilg <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
romangg added inline comments.
INLINE COMMENTS
> platform.h:74
> + Outputs(const QVector<T> &other) {
> + reserve(other.size());
> + std::copy(other.constBegin(), other.constEnd(), begin());
This must be a call to `resize`. Otherwise std::copy doesn't copy anything.
REPOSITORY
R108 KWin
BRANCH
master
REVISION DETAIL
https://phabricator.kde.org/D11781
To: romangg, #kwin, davidedmundson
Cc: anthonyfieroni, graesslin, davidedmundson, zzag, kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart