summaryrefslogtreecommitdiffstats
path: root/libdivecomputer
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2018-09-14 16:47:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-15 15:51:26 -0700
commit6d552d61b941dbc3a018ba46afdf27812bee2073 (patch)
tree391e1b418d4fe8429c38755ebd820ab7f69c4388 /libdivecomputer
parent858740e8a1ad9b0febb1f805cccf1f943062375b (diff)
downloadsubsurface-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