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
parent
340472534c
commit
fddf09363e
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue