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 /net/base | |
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 'net/base')
-rw-r--r-- | net/base/x509_certificate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h index 5956826..1e2419e 100644 --- a/net/base/x509_certificate.h +++ b/net/base/x509_certificate.h @@ -75,7 +75,7 @@ class X509Certificate : public base::RefCountedThreadSafe<X509Certificate> { // Principal represent an X.509 principal. struct Principal { Principal() { } - explicit Principal(std::string name) : common_name(name) { } + explicit Principal(const std::string& name) : common_name(name) { } // The different attributes for a principal. They may be "". // Note that some of them can have several values. |