From 9eaeb6d314b4263dc9e618f6031bfae232c2e127 Mon Sep 17 00:00:00 2001 From: Francisco Geiman Thiesen Date: Wed, 1 Oct 2025 22:24:45 -0700 Subject: [PATCH] using string_view --- include/simdjson/generic/ondemand/json_path_accessor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/simdjson/generic/ondemand/json_path_accessor.h b/include/simdjson/generic/ondemand/json_path_accessor.h index f530504dc..44af5fd01 100644 --- a/include/simdjson/generic/ondemand/json_path_accessor.h +++ b/include/simdjson/generic/ondemand/json_path_accessor.h @@ -83,7 +83,7 @@ consteval auto make_index_step(std::size_t idx) { struct parse_result { bool success; std::size_t pos; - const char* error_msg; + std::string_view error_msg; }; // Compile-time JSON path parser