diff options
author | 2023-03-30 12:35:16 +0000 | |
---|---|---|
committer | 2023-04-05 11:04:51 +0000 | |
commit | ba87ab5ca06eb85300b3b63f420914f76843a4a5 (patch) | |
tree | b86b5946911a42bc1bcc3cac6321e765219371c4 /runtime/art_method_test.cc | |
parent | 2bb753eabb80ad9ed90dfef3693c1e72d3d9f689 (diff) |
Fix "readability-redundant-string-cstr" clang-tidy issues
Bug: 264654008
Test: m tidy-art
Change-Id: Ic852d58f106187791fa3a0d31829654de41bcb2b
Diffstat (limited to 'runtime/art_method_test.cc')
-rw-r--r-- | runtime/art_method_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/art_method_test.cc b/runtime/art_method_test.cc index b71f8a39e4..b1e9ed3879 100644 --- a/runtime/art_method_test.cc +++ b/runtime/art_method_test.cc @@ -51,7 +51,7 @@ class ArtMethodTest : public CommonRuntimeTest { ASSERT_STREQ(value_of->GetName(), "valueOf"); std::string unbox_signature = std::string("()") + kPrimitive; ArtMethod* unbox_method = value_of->GetDeclaringClass()->FindClassMethod( - unbox_name, unbox_signature.c_str(), kRuntimePointerSize); + unbox_name, unbox_signature, kRuntimePointerSize); ASSERT_TRUE(unbox_method != nullptr); ASSERT_FALSE(unbox_method->IsStatic()); ASSERT_TRUE(value_of->GetDeclaringClass()->IsFinal()); |