From 33fcc371716d9cf61f5396eaaa1a31fbbd2cbbe8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 10 Mar 2024 14:39:18 +0300 Subject: NewStory: no need to store hEvent twice, since there's one inside DB::EventInfo --- include/m_database.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/m_database.h b/include/m_database.h index e29b04fa2e..75c34d2dbb 100644 --- a/include/m_database.h +++ b/include/m_database.h @@ -693,9 +693,10 @@ namespace DB public: explicit EventInfo(); explicit EventInfo(MEVENT hEvent, bool bFetchBlob = true); + EventInfo& operator=(MEVENT hEvent); ~EventInfo(); - bool fetch(MEVENT hEvent, bool bFetchBlob = true); + bool fetch(bool bFetchBlob = true); void unload(); void wipeNotify(); -- cgit v1.2.3