Skip to content
Snippets Groups Projects
Commit 25e87416 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

dqm_algorithms: do not delete const ref (cppcheck)

parent ef02a7c5
No related branches found
No related tags found
No related merge requests found
......@@ -42,7 +42,6 @@ dqm_core::Result* dqm_algorithms::EfficiencyRefComp::execute(const std::string&
if (histogram->GetEntries() < minstat ) {
dqm_core::Result *result = new dqm_core::Result(dqm_core::Result::Undefined);
result->tags_["InsufficientEffectiveEntries"] = histogram->GetEffectiveEntries();
delete histogram;
return result;
}
......
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