Adjust SFWriter with tests

This commit is contained in:
2020-04-24 15:06:26 +02:00
parent 1f123d228f
commit 44dfe39c2f
3 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ void SFWriter::close_file()
file_.close();
}
void SFWriter::write(char* data, std::shared_ptr<DetectorFrame> metadata) {
void SFWriter::write(shared_ptr<DetectorFrame> metadata, char* data) {
auto pulse_id = metadata->pulse_id;
auto frame_index = metadata->frame_index;
auto daq_rec = metadata->daq_rec;