From 044caba7eb0fc51910b511f5cc2c9e580e0df0b8 Mon Sep 17 00:00:00 2001 From: Gordon McCann Date: Sat, 1 Oct 2022 09:45:00 -0400 Subject: [PATCH] Fix small bugs in both file and net --- include/FileIO/DYFileReader.h | 2 +- include/NetIO/DYClient.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/FileIO/DYFileReader.h b/include/FileIO/DYFileReader.h index 2218722..5978aa6 100644 --- a/include/FileIO/DYFileReader.h +++ b/include/FileIO/DYFileReader.h @@ -83,7 +83,7 @@ namespace DaqGrimoire { return true; } - const DYListEvent& GetCurrentEvent() const + const DYListData& GetCurrentEvent() const { return m_dataEvent; } diff --git a/include/NetIO/DYClient.h b/include/NetIO/DYClient.h index 8cb8164..89fe0f1 100644 --- a/include/NetIO/DYClient.h +++ b/include/NetIO/DYClient.h @@ -48,7 +48,7 @@ namespace DaqGrimoire { } ); - m_asioThread = std::thread([this]() { m_context.run() }); + m_asioThread = std::thread([this]() { m_context.run(); }); } catch (asio::system_error& e) {