summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahooinc.com>2023-04-03 11:55:24 +0200
committerTor Egge <Tor.Egge@yahooinc.com>2023-04-03 11:55:24 +0200
commit93594e3e47dc1ef85439fe4b06917f4967956da0 (patch)
tree471d4cc09c9c25bec8432a8d7ccdd6fa08af5557 /document
parent1c2d6585d6487b1fe6fef7f69582fc6dafdc6a2a (diff)
Workarounds for libc++ 15 are still needed for libc++ 16.
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/select/parse_utils.cpp2
1 files changed, 1 insertions, 1 deletions
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<char*>(str) + len;