From efa18ab7a162395978ce743a75511aea16cc3e34 Mon Sep 17 00:00:00 2001 From: Mozc team Date: Fri, 12 May 2023 08:15:27 +0000 Subject: [PATCH] Fix 1 ClangTidyReadability findings: * redundant string conversion #codehealth Tested: Local presubmit tests passed. PiperOrigin-RevId: 531433922 --- src/dictionary/user_dictionary_storage.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dictionary/user_dictionary_storage.cc b/src/dictionary/user_dictionary_storage.cc index 93c24d2d9..1e8ff4b53 100644 --- a/src/dictionary/user_dictionary_storage.cc +++ b/src/dictionary/user_dictionary_storage.cc @@ -69,7 +69,7 @@ using ::mozc::user_dictionary::UserDictionaryCommandStatus; UserDictionaryStorage::UserDictionaryStorage(const std::string &file_name) : file_name_(file_name), - process_mutex_(new ProcessMutex(FileUtil::Basename(file_name).c_str())) {} + process_mutex_(new ProcessMutex(FileUtil::Basename(file_name))) {} UserDictionaryStorage::~UserDictionaryStorage() { UnLock(); }