Sometimes large / expensive copies are made when const& could be used instead.
Major culprits:
- 30+ cases of
Matrix3D (regex Matrix3D\s+\w+\s*=)
- ~10 cases of
Squad::getLiveObjects
- 2 cases of
PartitionSolver::getSolution
There are other cases beside these throughout the code, probably many more.
Sometimes large / expensive copies are made when
const&could be used instead.Major culprits:
Matrix3D(regexMatrix3D\s+\w+\s*=)Squad::getLiveObjectsPartitionSolver::getSolutionThere are other cases beside these throughout the code, probably many more.