Skip to content

Commit

Permalink
Fix 1 ClangTidyReadability findings:
Browse files Browse the repository at this point in the history
* redundant string conversion

#codehealth

Tested:
    Local presubmit tests passed.
PiperOrigin-RevId: 531433922
  • Loading branch information
Mozc team authored and hiroyuki-komatsu committed May 12, 2023
1 parent e5d3a21 commit efa18ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dictionary/user_dictionary_storage.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(); }

Expand Down

0 comments on commit efa18ab

Please sign in to comment.