Added copy operator

This commit is contained in:
Digital Artifex
2026-06-16 16:48:12 -04:00
parent b53048bebc
commit b3f6e55198
+7
View File
@@ -41,6 +41,13 @@ struct FetchResult
* Results list * Results list
*/ */
QList<T> data; QList<T> data;
auto operator=(const FetchResult<T> &other) -> FetchResult<T>
{
total = other.total;
count = other.count;
data = other.data;
}
}; };
#endif // FETCHRESULT_H #endif // FETCHRESULT_H