diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2018-09-14 16:47:23 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-15 15:51:26 -0700 |
commit | 6d552d61b941dbc3a018ba46afdf27812bee2073 (patch) | |
tree | 391e1b418d4fe8429c38755ebd820ab7f69c4388 /libdivecomputer | |
parent | 858740e8a1ad9b0febb1f805cccf1f943062375b (diff) | |
download | subsurface-6d552d61b941dbc3a018ba46afdf27812bee2073.tar.gz |
code cleanup: allocate the vector in one go
The << alternative can reallocate the vector, but we know it's size, so
preallocate.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'libdivecomputer')
0 files changed, 0 insertions, 0 deletions