summaryrefslogtreecommitdiff
path: root/libc/benchmarks
diff options
context:
space:
mode:
authorGuillaume Chatelet <gchatelet@google.com>2022-02-14 15:55:27 +0000
committerGuillaume Chatelet <gchatelet@google.com>2022-02-14 15:55:27 +0000
commitae8b63866d765cb10760c3c625531e9ed48183f8 (patch)
tree35567f22ae6a288059ebce6555d225486fb2d3ee /libc/benchmarks
parent35d4b4865443e584652841d548e12d7582da9243 (diff)
downloadllvm-ae8b63866d765cb10760c3c625531e9ed48183f8.tar.gz
[libc][benchmark] Fix change in JSon API
Diffstat (limited to 'libc/benchmarks')
-rw-r--r--libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp b/libc/benchmarks/automemcpy/lib/ResultAnalyzerMain.cpp
index 47e3200f9dcc..6a657e432c18 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;
}