diff options
author | JiDe Zhang <zhangjide@uniontech.com> | 2021-05-20 16:15:00 +0800 |
---|---|---|
committer | JiDe Zhang <zhangjide@uniontech.com> | 2021-05-21 21:37:32 +0800 |
commit | b254855aa6771c48a6015271880c690f8faeb235 (patch) | |
tree | 80f99b14f081247588eaeccfdd6950a2d9c12110 /src/corelib/tools/qduplicatetracker_p.h | |
parent | bf22f914410b37031acdf39ea8fef89cbbf2ca28 (diff) |
Use __has_* instead QT_HAS_*
Use __has_include instead QT_HAS_INCLUDE
Use __has_feature instead QT_HAS_FEATURE
Change-Id: If9b0af1f4386f7bcae6ca2fb911ffaba422750dd
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/tools/qduplicatetracker_p.h')
-rw-r--r-- | src/corelib/tools/qduplicatetracker_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qduplicatetracker_p.h b/src/corelib/tools/qduplicatetracker_p.h index b457d9e499..c7c63e1000 100644 --- a/src/corelib/tools/qduplicatetracker_p.h +++ b/src/corelib/tools/qduplicatetracker_p.h @@ -52,7 +52,7 @@ #include <qglobal.h> -#if QT_HAS_INCLUDE(<memory_resource>) && __cplusplus > 201402L +#if __has_include(<memory_resource>) && __cplusplus > 201402L # include <unordered_set> # include <memory_resource> # include <qhash.h> // for the hashing helpers |