mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-07 20:52:05 +02:00
Fix initialization bug in sf_replay
This commit is contained in:
@@ -17,10 +17,10 @@ class ReplayH5Reader {
|
||||
H5::DataSet dset_metadata_;
|
||||
H5::DataSet dset_frame_;
|
||||
|
||||
ModuleFrame* m_buffer_;
|
||||
char* f_buffer_;
|
||||
uint64_t buffer_start_pulse_id_;
|
||||
uint64_t buffer_end_pulse_id_;
|
||||
ModuleFrame* m_buffer_ = nullptr;
|
||||
char* f_buffer_ = nullptr;
|
||||
uint64_t buffer_start_pulse_id_ = 0;
|
||||
uint64_t buffer_end_pulse_id_ = 0;
|
||||
|
||||
void load_buffers(const uint64_t pulse_id);
|
||||
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include <thread>
|
||||
|
||||
#include "ReplayH5Reader.hpp"
|
||||
#include "BufferH5Writer.hpp"
|
||||
#include "gtest/gtest.h"
|
||||
|
||||
using namespace std;
|
||||
using namespace core_buffer;
|
||||
|
||||
Reference in New Issue
Block a user