Skip to content

Commit

Permalink
Merge pull request #23321 from mrodozov/fix-headers-EventFilter/EcalT…
Browse files Browse the repository at this point in the history
…BRawToDigi-pkg

fix headers in EventFilter/EcalTBRawToDigi
  • Loading branch information
cmsbuild committed May 26, 2018
2 parents 2f832db + dacdd3d commit 4164b5f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions EventFilter/EcalTBRawToDigi/src/MatacqRawEvent.h
Expand Up @@ -4,7 +4,8 @@
#define MATACQTBRAWEVENT_H

#include <cinttypes>

#include <time.h>
#include <vector>
#if 0 //replace 1 by 0 to remove XDAQ dependency. In this case it is assumed
//the machine is little endian.
#include "i2o/utils/endian.h" //from XDAQ
Expand Down Expand Up @@ -119,7 +120,7 @@ class MatacqTBRawEvent{
* @throw std::exception if the data cannot be decoded due to data corruption
* or truncation.
*/
MatacqTBRawEvent(const unsigned char* dataBuffer, size_t bufferSize){
MatacqTBRawEvent(const unsigned char* dataBuffer, std::size_t bufferSize){
setRawData(dataBuffer, bufferSize);
}
//methods
Expand Down Expand Up @@ -249,7 +250,7 @@ class MatacqTBRawEvent{
* @throw std::exception if the data cannot be decoded due to data corruption
* or truncation.
*/
void setRawData(const unsigned char* buffer, size_t bufferSize);
void setRawData(const unsigned char* buffer, std::size_t bufferSize);

//fields
private:
Expand Down

0 comments on commit 4164b5f

Please sign in to comment.