Commit 861a2b72 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

TrkRIO_OnTrackCreator: Avoid copying AttributeList.

    
Copying a coral::AttributeList is not thread-safe.
Avoid it.
parent e5bf4809
......@@ -126,7 +126,7 @@ StatusCode RIO_OnTrackErrorScalingCondAlg::execute() {
try {
// now populate output conditions data objects from attribut lists.
for (const std::pair<unsigned int, coral::AttributeList>& channel : **readHandle ) {
for (const std::pair<const unsigned int, coral::AttributeList>& channel : **readHandle ) {
const coral::AttributeList &alist = channel.second;
unsigned int att_i=0;
const std::string& attr_name=alist[att_i++].data<std::string>();
......
Markdown is supported
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