diff --git a/core-buffer/include/formats.hpp b/core-buffer/include/formats.hpp index 31d88d0..e1083ff 100644 --- a/core-buffer/include/formats.hpp +++ b/core-buffer/include/formats.hpp @@ -13,4 +13,14 @@ struct ImageMetadataBuffer uint16_t n_images; }; +#pragma pack(push) +#pragma pack(1) +struct ReplayBuffer +{ + ModuleFrame metadata[core_buffer::REPLAY_READ_BUFFER_SIZE]; + uint64_t start_pulse_id; + uint16_t n_frames; +}; +#pragma pack(pop) + #endif //SF_DAQ_BUFFER_FORMATS_HPP diff --git a/core-buffer/src/FastQueue.cpp b/core-buffer/src/FastQueue.cpp index d9dcb39..1595278 100644 --- a/core-buffer/src/FastQueue.cpp +++ b/core-buffer/src/FastQueue.cpp @@ -104,5 +104,6 @@ void FastQueue::release() } template class FastQueue; +template class FastQueue; template class FastQueue; template class FastQueue;