Project

General

Profile

Bug #2382

FindOneP's get() method to fill references with non-void data has wrong signature.

Added by Christopher Green about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Navigation
Target version:
Start date:
01/12/2012
Due date:
% Done:

100%

Estimated time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

The current signature is the same as FindOne:

void get(size_type,
         cet::maybe_ref<assoc_t const> &,
         cet::maybe_ref<data_t const> &)
  const;

The correct signature should be:

void get(size_type,
         art::Ptr<assoc_t> &,
         cet::maybe_ref<data_t const> &)
  const;

The workaround is to use:

art::Ptr<assoc_t> const & at(size_type) const;

and

cet::maybe_ref<data_t const> data(size_type) const;

Associated revisions

History

#1 Updated by Christopher Green about 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed with 491fdc0.

#2 Updated by Christopher Green about 8 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF