From b3f6e55198ebcdcbcc43fa9e958e393b8213723f Mon Sep 17 00:00:00 2001 From: Digital Artifex <7929434+DigitalArtifex@users.noreply.github.com> Date: Tue, 16 Jun 2026 16:48:12 -0400 Subject: [PATCH] Added copy operator --- KomplexHubPlugin/common/fetchresult.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/KomplexHubPlugin/common/fetchresult.h b/KomplexHubPlugin/common/fetchresult.h index 095085a..29c88cd 100644 --- a/KomplexHubPlugin/common/fetchresult.h +++ b/KomplexHubPlugin/common/fetchresult.h @@ -41,6 +41,13 @@ struct FetchResult * Results list */ QList data; + + auto operator=(const FetchResult &other) -> FetchResult + { + total = other.total; + count = other.count; + data = other.data; + } }; #endif // FETCHRESULT_H