summaryrefslogtreecommitdiffstats
path: root/src/concurrent/qtconcurrentcompilertest.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/concurrent/qtconcurrentcompilertest.h')
-rw-r--r--src/concurrent/qtconcurrentcompilertest.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/concurrent/qtconcurrentcompilertest.h b/src/concurrent/qtconcurrentcompilertest.h
index cddfd06ca1..72cf1670a0 100644
--- a/src/concurrent/qtconcurrentcompilertest.h
+++ b/src/concurrent/qtconcurrentcompilertest.h
@@ -52,7 +52,7 @@ template<class T>
class HasResultType {
typedef char Yes;
typedef void *No;
- template<typename U> static Yes test(int, const typename U::result_type * = 0);
+ template<typename U> static Yes test(int, const typename U::result_type * = nullptr);
template<typename U> static No test(double);
public:
enum { Value = (sizeof(test<T>(0)) == sizeof(Yes)) };