From ba87ab5ca06eb85300b3b63f420914f76843a4a5 Mon Sep 17 00:00:00 2001 From: Stefano Cianciulli Date: Thu, 30 Mar 2023 12:35:16 +0000 Subject: Fix "readability-redundant-string-cstr" clang-tidy issues Bug: 264654008 Test: m tidy-art Change-Id: Ic852d58f106187791fa3a0d31829654de41bcb2b --- compiler/utils/assembler_test_base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/utils') 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 ref_code; -- cgit v1.2.3-59-g8ed1b