From b14ffd5cfbdf64c61847b65f53ee76e4b5f42a54 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Thu, 7 May 2020 09:55:11 +0200 Subject: [PATCH] Fixed perf_test for SFWriter --- core-buffer/test/perf_SFWriter.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/core-buffer/test/perf_SFWriter.cpp b/core-buffer/test/perf_SFWriter.cpp index 8f75f88..58a9fb1 100644 --- a/core-buffer/test/perf_SFWriter.cpp +++ b/core-buffer/test/perf_SFWriter.cpp @@ -1,14 +1,11 @@ #include -#include #include "buffer_config.hpp" #include "zmq.h" #include #include -#include #include #include #include "SFWriter.hpp" -#include using namespace std; using namespace core_buffer; @@ -52,7 +49,7 @@ int main (int argc, char *argv[]) auto current_pulse_id = start_pulse_id; while (current_pulse_id <= stop_pulse_id) { - writer.write(metadata, data.get()); + writer.write(metadata.get(), data.get()); current_pulse_id++; i_write++;