Skip to content

Commit

Permalink
mark SiStripRawDigi destructor default
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Apr 28, 2020
1 parent 2d9f8ab commit f8a15d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DataFormats/SiStripDigi/interface/SiStripRawDigi.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class SiStripRawDigi : public edm::DoNotSortUponInsertion {
explicit SiStripRawDigi(uint16_t adc) : adc_(adc) {}

SiStripRawDigi() : adc_(0) {}
~SiStripRawDigi() {}
~SiStripRawDigi() = default;

inline uint16_t adc() const { return adc_; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ inline edm::DetSet<SiStripRawDigi> SiStripZeroSuppression::formatRawDigis(const
outRawDigis.reserve(rawDigis.size());
const std::vector<bool>& apvf = algorithms->getAPVFlags();
uint32_t strip = 0;
for (const auto& rawDigi : rawDigis) {
for (const auto rawDigi : rawDigis) {
int16_t apvN = strip / 128;
if (apvf[apvN])
outRawDigis.push_back(rawDigi);
Expand Down

0 comments on commit f8a15d1

Please sign in to comment.