Skip to content

Commit

Permalink
Merge pull request #37702 from cecilecaillol/l1t-issueGT
Browse files Browse the repository at this point in the history
[L1T] fix improper casting
  • Loading branch information
cmsbuild committed Apr 28, 2022
2 parents de540dc + 638f9c6 commit d9ad14e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -12,7 +12,7 @@ namespace l1t {

bool unpack(const Block& block, UnpackerCollections* coll) override;

inline void setEtSumCopy(const unsigned int copy) { EtSumCopy_ = copy; };
virtual inline void setEtSumCopy(const unsigned int copy) { EtSumCopy_ = copy; };

private:
unsigned int EtSumCopy_;
Expand Down
@@ -1,18 +1,18 @@
#ifndef L1T_PACKER_STAGE2_ETSUMUNPACKER_0X10010057_H
#define L1T_PACKER_STAGE2_ETSUMUNPACKER_0X10010057_H

#include "EventFilter/L1TRawToDigi/interface/Unpacker.h"
#include "EventFilter/L1TRawToDigi/plugins/implementations_stage2/EtSumUnpacker.h"

namespace l1t {
namespace stage2 {
class EtSumUnpacker_0x10010057 : public Unpacker {
class EtSumUnpacker_0x10010057 : public EtSumUnpacker {
public:
EtSumUnpacker_0x10010057();
~EtSumUnpacker_0x10010057() override{};

bool unpack(const Block& block, UnpackerCollections* coll) override;

inline void setEtSumCopy(const unsigned int copy) { EtSumCopy_ = copy; };
inline void setEtSumCopy(const unsigned int copy) override { EtSumCopy_ = copy; };

private:
unsigned int EtSumCopy_;
Expand Down

0 comments on commit d9ad14e

Please sign in to comment.