Remove unused instance of RingBuffer

This commit is contained in:
2018-11-14 17:51:24 +01:00
parent e2cfe3154b
commit ff034f8bff
+2 -4
View File
@@ -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);
}
}