From d48e19145b315ebb74da5e276cf00f1ad3607f55 Mon Sep 17 00:00:00 2001 From: Dave Marco <marcovitch.david@gmail.com> Date: Mon, 11 Nov 2024 03:38:39 +0000 Subject: [PATCH] kirk change --- src/clp_ffi_js/ir/UnstructuredIrStreamReader.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/clp_ffi_js/ir/UnstructuredIrStreamReader.cpp b/src/clp_ffi_js/ir/UnstructuredIrStreamReader.cpp index 395d1b45..37363fd0 100644 --- a/src/clp_ffi_js/ir/UnstructuredIrStreamReader.cpp +++ b/src/clp_ffi_js/ir/UnstructuredIrStreamReader.cpp @@ -147,12 +147,7 @@ auto UnstructuredIrStreamReader::deserialize_stream() -> size_t { } } - auto log_event_with_filter_data{LogEventWithFilterData<UnstructuredLogEvent>( - log_event, - log_level, - log_event.get_timestamp() - )}; - m_encoded_log_events.emplace_back(std::move(log_event_with_filter_data)); + m_encoded_log_events.emplace_back(log_event, log_level, log_event.get_timestamp()); } m_stream_reader_data_context.reset(nullptr); return m_encoded_log_events.size();