Fix tests to pass reference to header map

This commit is contained in:
2020-04-15 12:02:29 +02:00
parent 49018dd102
commit c634498b8e
2 changed files with 7 additions and 3 deletions
+3 -1
View File
@@ -49,7 +49,9 @@ TEST(H5WriteModule, basic_interaction)
RingBuffer<FrameMetadata> ring_buffer(10);
ring_buffer.initialize(image_n_bytes);
H5WriteModule h5_write_module(ring_buffer, {}, format);
std::unordered_map<std::string, HeaderDataType> header_map;
H5WriteModule h5_write_module(ring_buffer, header_map, format);
ASSERT_FALSE(h5_write_module.is_writing());
h5_write_module.start_writing("ignore_out.h5", 5);