Skip to content

Commit

Permalink
Merge pull request #28323 from Dr15Jones/fixESRecordsToProxyIndices
Browse files Browse the repository at this point in the history
Fix assert in ESRecordsToProxyIndices
  • Loading branch information
cmsbuild authored Nov 1, 2019
2 parents f8fb84b + ad23eb5 commit 9906a76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FWCore/Framework/src/ESRecordsToProxyIndices.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
namespace edm::eventsetup {
ESRecordsToProxyIndices::ESRecordsToProxyIndices(std::vector<EventSetupRecordKey> iRecords)
: recordKeys_{std::move(iRecords)} {
assert(std::is_sorted(iRecords.begin(), iRecords.end()));
assert(std::is_sorted(recordKeys_.begin(), recordKeys_.end()));
recordOffsets_.reserve(recordKeys_.size() + 1);
recordOffsets_.push_back(0);
}
Expand Down

0 comments on commit 9906a76

Please sign in to comment.