Bug #6420
Assns::size_type inaccessible
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 6 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 6 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 6 years ago
- Status changed from Resolved to Closed
Fix issue #6420.