Commit e9c0d336 authored by Philipp Schäfer's avatar Philipp Schäfer
Browse files

ART - RayToPropagationPath

- added reserve() for speedup
parent 99fa56f8
......@@ -74,6 +74,7 @@ namespace ITAPropagationPathSim
ITAGeo::CPropagationPathList ToPropagationPath(const std::vector<std::shared_ptr<CRay>>& vpRays)
{
ITAGeo::CPropagationPathList propagationPathList;
propagationPathList.reserve(vpRays.size());
for each (std::shared_ptr<CRay> pRay in vpRays)
{
if (!pRay)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment