From b7605e521c2c1f45f3e0b5cf42fe6351df449851 Mon Sep 17 00:00:00 2001 From: Mateusz Daniluk <121170681+VeithMetro@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:22:37 +0100 Subject: [PATCH] Try to enable the const copy constructor of MonitorObject to see if that's the root cause --- Monitor/Monitor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Monitor/Monitor.h b/Monitor/Monitor.h index 64843e9..2d7760b 100644 --- a/Monitor/Monitor.h +++ b/Monitor/Monitor.h @@ -490,8 +490,8 @@ namespace Plugin { } } - MonitorObject(MonitorObject&) = delete; - MonitorObject& operator=(MonitorObject&) = delete; + MonitorObject(MonitorObject&) = default; + MonitorObject& operator=(MonitorObject&); MonitorObject(MonitorObject&&) = delete; MonitorObject& operator=(MonitorObject&&) = delete;