From 93594e3e47dc1ef85439fe4b06917f4967956da0 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Mon, 3 Apr 2023 11:55:24 +0200 Subject: Workarounds for libc++ 15 are still needed for libc++ 16. --- document/src/vespa/document/select/parse_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'document/src') diff --git a/document/src/vespa/document/select/parse_utils.cpp b/document/src/vespa/document/select/parse_utils.cpp index 95461442349..4c116d5bff4 100644 --- a/document/src/vespa/document/select/parse_utils.cpp +++ b/document/src/vespa/document/select/parse_utils.cpp @@ -24,7 +24,7 @@ parse_i64(const char* str, size_t len, int64_t& out) { } bool parse_double(const char* str, size_t len, double& out) { -#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 160000 +#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 170000 // Temporary workaround that also handles underflow (cf. issue 3081) // until libc++ supports std::from_chars for double char *str_end = const_cast(str) + len; -- cgit v1.2.3