From 01421b72c68197cc5dd6854f4dc4ead71a25954c Mon Sep 17 00:00:00 2001 From: Mozc team Date: Fri, 12 May 2023 06:40:18 +0000 Subject: [PATCH] Fix 1 ClangTidyReadability findings: * redundant string conversion #codehealth Tested: Local presubmit tests passed. PiperOrigin-RevId: 531417011 --- src/server/mozc_server.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/mozc_server.cc b/src/server/mozc_server.cc index 1703677ed..b0a3e300c 100644 --- a/src/server/mozc_server.cc +++ b/src/server/mozc_server.cc @@ -97,7 +97,7 @@ void InitMozcAndMozcServer(const char *arg0, int *argc, char ***argv, int MozcServer::Run() { std::string mutex_name = "server"; - mozc::ProcessMutex mutex(mutex_name.c_str()); + mozc::ProcessMutex mutex(mutex_name); if (!mutex.Lock()) { LOG(INFO) << "Mozc Server is already running"; return -1;