We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29c7244 commit 055fd39Copy full SHA for 055fd39
1 file changed
TinyJobs/include/TinyJobs.h
@@ -87,6 +87,8 @@
87
#include <pthread.h>
88
#include <sched.h>
89
#elif defined(_WIN32)
90
+//exclude min / max defines
91
+#define NOMINMAX
92
#include <windows.h>
93
#elif defined(__APPLE__)
94
@@ -594,7 +596,12 @@ class Future {
594
596
/**
595
597
* @brief store a potential large heap buffer
598
*/
- void* large_ptr = nullptr;
599
+ void* large_ptr;
600
+
601
+ /**
602
+ * @brief Default constructor
603
+ */
604
+ constexpr Data() noexcept : large_ptr(nullptr) {}
605
} m_data;
606
607
0 commit comments