From ae8b63866d765cb10760c3c625531e9ed48183f8 Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Mon, 14 Feb 2022 15:55:27 +0000 Subject: [PATCH] [libc][benchmark] Fix change in JSon API --- libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp b/libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp index 47e3200f9dccb..6a657e432c18f 100644 --- a/libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp +++ b/libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp @@ -94,7 +94,7 @@ JsonFile parseJsonResultFile(StringRef Filename) { json::Path::Root Root; JsonFile JF; if (!fromJSON(JsonValue, JF, Root)) - ExitOnErr(Root.get_error()); + ExitOnErr(Root.getError()); return JF; }