Project

General

Profile

Bug #6420

Assns::size_type inaccessible

Added by Andrei Gaponenko over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Navigation
Target version:
Start date:
06/06/2014
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:
Occurs In:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
art
Duration:

Description

typedef art::Assns<SimParticle,TrackSummary,TrackSummaryMatchInfo> TrackSummaryTruthAssns;
// notice the payload above

for(typename TrackSummaryTruthAssns::size_type i=0; i<ih->size(); ++i) ...

gives

art/v1_08_09/include/art/Persistency/Common/Assns.h:147:38: error: 'typedef std::vector<std::pair<art::Ptr<mu2e::SimParticle>, art::Ptr<mu2e::TrackSummary> >, std::allocator<std::pair<art::Ptr<mu2e::SimParticle>, art::Ptr<mu2e::TrackSummary> > > >::size_type art::Assns<mu2e::SimParticle, mu2e::TrackSummary, void>::size_type' is inaccessible
typedef typename ptrs_t::size_type size_type;
^

(note the "void" in the error message)

Andrei

Associated revisions

History

#1 Updated by Christopher Green over 5 years ago

  • Category set to Navigation
  • Status changed from New to Accepted
  • Target version set to 1.10.00
  • Estimated time set to 0.50 h
  • SSI Package art added
  • SSI Package deleted ()

This is an unintentional omission, and will be fixed.

#2 Updated by Christopher Green over 5 years ago

  • Status changed from Accepted to Resolved
  • Assignee set to Christopher Green
  • % Done changed from 0 to 100
  • Experiment Mu2e added
  • Experiment deleted (-)

Fixed with bc6088c.

#3 Updated by Christopher Green over 5 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF