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/file_path.cc | |
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/file_path.cc')
-rw-r--r-- | base/file_path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/file_path.cc b/base/file_path.cc index f342054..fa93b2a 100644 --- a/base/file_path.cc +++ b/base/file_path.cc @@ -83,7 +83,7 @@ bool IsPathAbsolute(const FilePath::StringType& path) { #endif // FILE_PATH_USES_DRIVE_LETTERS } -bool AreAllSeparators(FilePath::StringType input) { +bool AreAllSeparators(const FilePath::StringType& input) { for (FilePath::StringType::const_iterator it = input.begin(); it != input.end(); ++it) { if (!FilePath::IsSeparator(*it)) |