We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650f7f3 commit 1defa88Copy full SHA for 1defa88
include/kafka/Header.h
@@ -42,7 +42,7 @@ using Headers = std::vector<Header>;
42
/**
43
* Null Headers.
44
*/
45
-#if __cplusplus >= 201703L
+#if __cplusplus >= 201703L || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
46
const inline Headers NullHeaders = Headers{};
47
#else
48
const static Headers NullHeaders = Headers{};
0 commit comments