summaryrefslogtreecommitdiff
path: root/compiler/utils
diff options
context:
space:
mode:
author Stefano Cianciulli <scianciulli@google.com> 2023-03-30 12:35:16 +0000
committer Stefano Cianciulli <scianciulli@google.com> 2023-04-05 11:04:51 +0000
commitba87ab5ca06eb85300b3b63f420914f76843a4a5 (patch)
treeb86b5946911a42bc1bcc3cac6321e765219371c4 /compiler/utils
parent2bb753eabb80ad9ed90dfef3693c1e72d3d9f689 (diff)
Fix "readability-redundant-string-cstr" clang-tidy issues
Bug: 264654008 Test: m tidy-art Change-Id: Ic852d58f106187791fa3a0d31829654de41bcb2b
Diffstat (limited to 'compiler/utils')
-rw-r--r--compiler/utils/assembler_test_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/utils/assembler_test_base.h b/compiler/utils/assembler_test_base.h
index 8c18e07033..73f3657413 100644
--- a/compiler/utils/assembler_test_base.h
+++ b/compiler/utils/assembler_test_base.h
@@ -85,7 +85,7 @@ class AssemblerTestBase : public testing::Test {
// Assemble reference object file.
std::string ref_obj_file = test_path(".ref.o");
- ASSERT_TRUE(Assemble(ref_asm_file.c_str(), ref_obj_file.c_str()));
+ ASSERT_TRUE(Assemble(ref_asm_file, ref_obj_file));
// Read the code produced by assembler from the ELF file.
std::vector<uint8_t> ref_code;