File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1616
1717
1818// Use `boost::optional` for C++14, which doesn't support `std::optional`
19- #if (__cplusplus >= 201703L) || (_MSVC_LANG >= 201703L)
19+ #if (__cplusplus >= 201703L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
2020#include < optional>
2121template <class T >
2222using Optional = std::optional<T>;
@@ -84,7 +84,7 @@ using KeySize = std::size_t;
8484/* *
8585 * Null Key.
8686 */
87- #if (__cplusplus >= 201703L) || (_MSVC_LANG >= 201703L)
87+ #if (__cplusplus >= 201703L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
8888const inline Key NullKey = Key{};
8989#else
9090const static Key NullKey = Key{};
@@ -99,7 +99,7 @@ using ValueSize = std::size_t;
9999/* *
100100 * Null Value.
101101 */
102- #if (__cplusplus >= 201703L) || (_MSVC_LANG >= 201703L)
102+ #if (__cplusplus >= 201703L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 201703L)
103103const inline Value NullValue = Value{};
104104#else
105105const static Value NullValue = Value{};
You can’t perform that action at this time.
0 commit comments