diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-06 20:11:00 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-06 20:11:00 +0000 |
commit | 2bce035bc176ac4c5c8cb5f5311c2bfd77c4ee07 (patch) | |
tree | 5106d89cb36649c23d18126e529eff9494539b7e /base/simple_thread.h | |
parent | 6e9d11ebd13b9e3582697f7480c3d920331dc087 (diff) | |
download | chromium_src-2bce035bc176ac4c5c8cb5f5311c2bfd77c4ee07.zip chromium_src-2bce035bc176ac4c5c8cb5f5311c2bfd77c4ee07.tar.gz chromium_src-2bce035bc176ac4c5c8cb5f5311c2bfd77c4ee07.tar.bz2 |
Fix few trivial Coverity issues, mainly PASS_BY_VALUE.
Review URL: http://codereview.chromium.org/155022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19974 0039d316-1c4b-4281-b951-d872f2087c98
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(); |