summaryrefslogtreecommitdiff
path: root/ZAPD/ZVector.cpp
diff options
context:
space:
mode:
authorLouis <35883445+louist103@users.noreply.github.com>2022-06-27 12:32:52 -0400
committerNicholas Estelami <NEstelami@users.noreply.github.com>2022-07-30 22:24:40 -0400
commit0595f813a67315bf6acdc7fcf5cc406ab277d9b1 (patch)
tree39f175b546cb21ab78ff519cf5254b44eb235664 /ZAPD/ZVector.cpp
parentb5bffbf8215aa72cffc1d7403238b946bd1db262 (diff)
Done?
Diffstat (limited to 'ZAPD/ZVector.cpp')
-rw-r--r--ZAPD/ZVector.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ZAPD/ZVector.cpp b/ZAPD/ZVector.cpp
index a5a059e..607aac8 100644
--- a/ZAPD/ZVector.cpp
+++ b/ZAPD/ZVector.cpp
@@ -48,7 +48,7 @@ void ZVector::ParseRawData()
int32_t currentRawDataIndex = rawDataIndex;
// TODO: this shouldn't be necessary.
scalars.clear();
-
+ scalars.reserve(dimensions);
for (uint32_t i = 0; i < dimensions; i++)
{
ZScalar scalar(parent);