Skip to content

Commit

Permalink
Move comment to appropriate line
Browse files Browse the repository at this point in the history
  • Loading branch information
Dr15Jones committed Jul 18, 2019
1 parent 9757d7f commit 3607033
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion RecoTracker/TkHitPairs/interface/LayerHitMapCache.h
Expand Up @@ -38,8 +38,9 @@ class LayerHitMapCache {

for (size_t i = 0, size = other.theContainer.size(); i != size; ++i) {
assert(get(i) == nullptr); // We don't want to override any existing value
auto v = other.get(i); // pass by reference to denote that we don't own it
auto v = other.get(i);
if (v) {
// pass by reference to denote that we don't own it
theContainer[i].reset(*(other.get(i)));
} else {
theContainer[i].reset();
Expand Down

0 comments on commit 3607033

Please sign in to comment.