Skip to content
Snippets Groups Projects
Commit ebd7020b authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

DataQualityInterfaces: Fix clang 10 warning.

Avoid spurious object copy in range for.
parent 367da3d5
No related branches found
No related tags found
No related merge requests found
...@@ -491,7 +491,7 @@ GetAlgorithmConfiguration( HanConfigAssessor* dqpar, const std::string& algID, ...@@ -491,7 +491,7 @@ GetAlgorithmConfiguration( HanConfigAssessor* dqpar, const std::string& algID,
} }
std::string newRefId; std::string newRefId;
std::string absAlgRefName(""); std::string absAlgRefName("");
for (const auto thisRefID : refIDVec) { for (const auto& thisRefID : refIDVec) {
std::string algRefName( m_refConfig.GetStringAttribute(thisRefID,"name") ); std::string algRefName( m_refConfig.GetStringAttribute(thisRefID,"name") );
std::string algRefPath( m_refConfig.GetStringAttribute(thisRefID,"path") ); std::string algRefPath( m_refConfig.GetStringAttribute(thisRefID,"path") );
std::string algRefInfo( m_refConfig.GetStringAttribute(thisRefID,"info") ); std::string algRefInfo( m_refConfig.GetStringAttribute(thisRefID,"info") );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment