vcpkg/ports/qt5-base/patches/patch-qtbase-memory_resource.diff

12 lines
299 B
Diff
Raw Permalink Normal View History

2023-10-06 19:29:02 +02:00
--- 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
+#ifdef __cpp_lib_memory_resource
# include <unordered_set>
# include <memory_resource>
#else