Skip to content

Commit e28530e

Browse files
authored
Merge branch 'master' into feature-amalgamation
2 parents 9cf6ac3 + 36f94b6 commit e28530e

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

src/lib_json/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ include(CheckIncludeFileCXX)
77
include(CheckTypeSize)
88
include(CheckStructHasMember)
99
include(CheckCXXSymbolExists)
10-
include(CheckCXXSourceCompiles)
1110

1211
check_include_file_cxx(clocale HAVE_CLOCALE)
1312
check_cxx_symbol_exists(localeconv clocale HAVE_LOCALECONV)
@@ -26,11 +25,6 @@ if(NOT (HAVE_CLOCALE AND HAVE_LCONV_SIZE AND HAVE_DECIMAL_POINT AND HAVE_LOCALEC
2625
endif()
2726
endif()
2827

29-
check_cxx_source_compiles(
30-
"#include <string_view>
31-
int main() { std::string_view sv; return 0; }"
32-
JSONCPP_HAS_STRING_VIEW)
33-
3428
set(JSONCPP_INCLUDE_DIR ../../include)
3529

3630
set(PUBLIC_HEADERS

src/lib_json/json_value.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@
1717
#include <sstream>
1818
#include <utility>
1919

20-
#ifdef JSONCPP_HAS_STRING_VIEW
21-
#include <string_view>
22-
#endif
23-
2420
// Provide implementation equivalent of std::snprintf for older _MSC compilers
2521
#if defined(_MSC_VER) && _MSC_VER < 1900
2622
#include <stdarg.h>

0 commit comments

Comments
 (0)