diff options
Diffstat (limited to 'base/simple_thread.h')
-rw-r--r-- | base/simple_thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/simple_thread.h b/base/simple_thread.h index 17a2f6d..737b97d 100644 --- a/base/simple_thread.h +++ b/base/simple_thread.h @@ -152,7 +152,7 @@ class DelegateSimpleThreadPool : public DelegateSimpleThread::Delegate { public: typedef DelegateSimpleThread::Delegate Delegate; - DelegateSimpleThreadPool(const std::string name_prefix, int num_threads) + DelegateSimpleThreadPool(const std::string& name_prefix, int num_threads) : name_prefix_(name_prefix), num_threads_(num_threads), dry_(true, false) { } ~DelegateSimpleThreadPool(); |