diff options
author | Elliott Hughes <enh@google.com> | 2017-08-08 11:23:27 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-08-08 11:23:27 -0700 |
commit | c2223f746c7342945a6bf80b1b635250d53746a1 (patch) | |
tree | 9cd7a2af7c7a10fd54449a280d96b352ffb2fab3 /benchmarks/bionic_benchmarks.cpp | |
parent | ebbbe292bd2657b98007f3b6d0405686c1c646b8 (diff) |
Track tinyxml2 API change.
Bug: http://b/64459264
Test: builds
Change-Id: I02206b9d40571f306ce712345a36c2754ac73a97
Diffstat (limited to 'benchmarks/bionic_benchmarks.cpp')
-rw-r--r-- | benchmarks/bionic_benchmarks.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmarks/bionic_benchmarks.cpp b/benchmarks/bionic_benchmarks.cpp index 7f91b7444..f1ae4ff7e 100644 --- a/benchmarks/bionic_benchmarks.cpp +++ b/benchmarks/bionic_benchmarks.cpp @@ -251,7 +251,7 @@ int RegisterXmlBenchmarks(bench_opts_t cmdline_opts, // - - Element "args" Whitespace-separated list of per-function integer arguments, or // one of the macros defined in util.h. tinyxml2::XMLDocument doc; - if (doc.LoadFile(cmdline_opts.xmlpath.c_str()) != tinyxml2::XML_NO_ERROR) { + if (doc.LoadFile(cmdline_opts.xmlpath.c_str()) != tinyxml2::XML_SUCCESS) { doc.PrintError(); return doc.ErrorID(); } |