- Timestamp:
- 06/20/18 19:30:24 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/HeadersFAD.h
r17212 r19021 218 218 // 219 219 #ifdef __cplusplus 220 220 221 EventHeader() { init(*this); } 221 222 EventHeader(const uint16_t *ptr) … … 223 224 *this = std::vector<uint16_t>(ptr, ptr+sizeof(EventHeader)/2); 224 225 } 226 227 #pragma clang diagnostic push 228 #pragma clang diagnostic ignored "-Waddress-of-packed-member" 225 229 226 230 void operator=(const std::vector<uint16_t> &vec) … … 254 258 return htoncpy(h); 255 259 } 260 261 #pragma clang diagnostic pop 256 262 257 263 bool operator==(const EventHeader &h) const
Note:
See TracChangeset
for help on using the changeset viewer.