From ff034f8bfffb888022a41d9f19b237efcd8f3910 Mon Sep 17 00:00:00 2001 From: Babicaa Date: Wed, 14 Nov 2018 17:51:24 +0100 Subject: [PATCH] Remove unused instance of RingBuffer --- lib/src/ProcessManager.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/src/ProcessManager.cpp b/lib/src/ProcessManager.cpp index 28508c5..a83db53 100644 --- a/lib/src/ProcessManager.cpp +++ b/lib/src/ProcessManager.cpp @@ -73,15 +73,12 @@ void ProcessManager::notify_last_pulse_id(uint64_t pulse_id) void ProcessManager::run_writer() { - size_t n_slots = config::ring_buffer_n_slots; - RingBuffer ring_buffer(n_slots); #ifdef DEBUG_OUTPUT using namespace date; cout << "[" << std::chrono::system_clock::now() << "]"; cout << "[ProcessManager::run_writer] Running writer"; cout << " and output_file " << writer_manager.get_output_file(); - cout << " and n_slots " << n_slots; cout << endl; #endif @@ -302,4 +299,5 @@ void ProcessManager::write_h5() // Exit when writer thread has closed the file. exit(0); -} \ No newline at end of file +} +