TrigHLTJetHypo: Fix clang warnings.
clang warnings:
- Don't use std::move on rvalues.
- Classes with virtual methods should usually have a virtual dtor.
- Unused private data members.
-
- used instead of << in output streaming.
Merge request reports
Activity
added JetEtmiss Trigger master review-pending-level-1 labels
CI Result FAILUREAthena AthSimulation externals cmake make required tests optional tests Full details available at NICOS MR-24858-2019-07-13-02-35
Athena: number of compilation errors 0, warnings 1
AthSimulation: number of compilation errors 0, warnings 0
For experts only: Jenkins output [CI-MERGE-REQUEST-CC7 1126]added review-approved label and removed review-pending-level-1 label
mentioned in commit 2bd7180d
22 22 23 23 m_conditions = m_config->getConditions(); 24 24 25 m_grouper = std::move(m_config->getJetGrouper()); hi -
No. Rule of thumb is that you should only use std::move on an lvalue (i.e., something with a name), and not in a return statement. Don't use it on a temporary value as you have here.
One way to think of std::move is as a lvalue->rvalue conversion, so it doesn't make sense to apply it to something that's already an rvalue, and doing so will inhibit optimizations in some contexts. clang gives warnings about such uses.
added sweep:ignore label