Skip to content

Commit

Permalink
Revert std::move change. In this case the cast works directly.
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Jan 29, 2018
1 parent 66a84fd commit 254947c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ TSCBLBuilderNoMaterialESProducer::produce(const TrackingComponentsRecord& iRecor
auto pTSCBLBuilderNoMaterial = std::make_unique<TSCBLBuilderNoMaterial>() ;


return std::move(pTSCBLBuilderNoMaterial) ;
return pTSCBLBuilderNoMaterial ;
}

//define this as a plug-in
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ TSCBLBuilderWithPropagatorESProducer::produce(const TrackingComponentsRecord& iR
auto pTSCBLBuilderWithPropagator = std::make_unique<TSCBLBuilderWithPropagator>(*pro) ;


return std::move(pTSCBLBuilderWithPropagator) ;
return pTSCBLBuilderWithPropagator ;
}

//define this as a plug-in
Expand Down

0 comments on commit 254947c

Please sign in to comment.