QFutureInterface::reportFinished use nullptr instead of 0

So that users don't get a warning if using
-Wzero-as-null-pointer-constant

Change-Id: Ia15b5f380a2f6a93e05eec06646608e480cdf5d2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Albert Astals Cid 2018-06-26 16:54:50 +02:00
parent 340472534c
commit fddf09363e
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ public:
inline void reportResult(const T *result, int index = -1);
inline void reportResult(const T &result, int index = -1);
inline void reportResults(const QVector<T> &results, int beginIndex = -1, int count = -1);
inline void reportFinished(const T *result = 0);
inline void reportFinished(const T *result = nullptr);
inline const T &resultReference(int index) const;
inline const T *resultPointer(int index) const;