Skip to content
Snippets Groups Projects
Commit 208abc3a authored by Moritz Kiehn's avatar Moritz Kiehn
Browse files

Merge branch 'do-not-default-construct-sourcelink' into 'master'

Do not default construct SourceLink

See merge request !641
parents 64ea3ac5 cd844201
No related branches found
No related tags found
1 merge request!641Do not default construct SourceLink
Pipeline #1035617 passed with warnings
......@@ -154,7 +154,7 @@ class KalmanFitter {
std::map<const Surface*, source_link_t> inputMeasurements;
for (const auto& sl : sourcelinks) {
const Surface* srf = &sl.referenceSurface();
inputMeasurements[srf] = sl; // copy!
inputMeasurements.emplace(srf, sl);
}
// Create the ActionList and AbortList
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment