summaryrefslogtreecommitdiffstats
path: root/base/worker_pool_linux.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/worker_pool_linux.cc')
-rw-r--r--base/worker_pool_linux.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/base/worker_pool_linux.cc b/base/worker_pool_linux.cc
index 31fcef1..b9c85b3 100644
--- a/base/worker_pool_linux.cc
+++ b/base/worker_pool_linux.cc
@@ -67,8 +67,7 @@ class WorkerThread : public PlatformThread::Delegate {
void WorkerThread::ThreadMain() {
const std::string name =
- StringPrintf("%s/%d", name_prefix_.c_str(),
- IntToString(PlatformThread::CurrentId()).c_str());
+ StringPrintf("%s/%d", name_prefix_.c_str(), PlatformThread::CurrentId());
PlatformThread::SetName(name.c_str());
for (;;) {