Skip to content

Commit

Permalink
std::move was not useful
Browse files Browse the repository at this point in the history
  • Loading branch information
slava77 committed Dec 22, 2017
1 parent 4131b65 commit b060f7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PhysicsTools/JetMCAlgos/plugins/JetFlavourClustering.cc
Expand Up @@ -328,7 +328,7 @@ JetFlavourClustering::produce(edm::Event& iEvent, const edm::EventSetup& iSetup)
insertGhosts(leptons, ghostRescaling_, false, false, false, true, fjInputs);

// define jet clustering sequence
fjClusterSeq_ = ClusterSequencePtr( new fastjet::ClusterSequence( std::move(fjInputs), *fjJetDefinition_ ) );//move, fjInputs are not needed anymore
fjClusterSeq_ = ClusterSequencePtr( new fastjet::ClusterSequence( fjInputs, *fjJetDefinition_ ) );
// recluster jet constituents and inserted "ghosts"
std::vector<fastjet::PseudoJet> inclusiveJets = fastjet::sorted_by_pt( fjClusterSeq_->inclusive_jets(jetPtMin_) );

Expand Down

0 comments on commit b060f7b

Please sign in to comment.