Added copy operator

This commit is contained in:
Digital Artifex
2026-06-16 16:48:12 -04:00
parent e3c92133cf
commit fcd59ffd45
+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