summaryrefslogtreecommitdiffstats
path: root/base/string_util.h
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-20 23:41:20 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-20 23:41:20 +0000
commit48617e8037bab377d4a30d9e415db7c1a3019564 (patch)
treeeb0161100be535faba602c9ef254947724363f42 /base/string_util.h
parent9c042debb5560cf0f8c7eaaaf65b09966ae06389 (diff)
downloadchromium_src-48617e8037bab377d4a30d9e415db7c1a3019564.zip
chromium_src-48617e8037bab377d4a30d9e415db7c1a3019564.tar.gz
chromium_src-48617e8037bab377d4a30d9e415db7c1a3019564.tar.bz2
Fix some more warnings.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_util.h')
-rw-r--r--base/string_util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/string_util.h b/base/string_util.h
index ca0496c..de09d58 100644
--- a/base/string_util.h
+++ b/base/string_util.h
@@ -150,10 +150,10 @@ extern const char* const kCodepageUTF8;
// Removes characters in trim_chars from the beginning and end of input.
// NOTE: Safe to use the same variable for both input and output.
bool TrimString(const std::wstring& input,
- wchar_t trim_chars[],
+ const wchar_t trim_chars[],
std::wstring* output);
bool TrimString(const std::string& input,
- char trim_chars[],
+ const char trim_chars[],
std::string* output);
// Trims any whitespace from either end of the input string. Returns where