diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-05 22:23:44 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-05 22:23:44 +0000 |
commit | 4edb6ef6d0c33ad50abcea160789939dfe6406c0 (patch) | |
tree | c9d519d351aa13cd36adf980439fadb1b5feb441 /base/string_split.cc | |
parent | 2cd7f95ddca8996ff7eaee4cc252c42b14d3eff8 (diff) | |
download | chromium_src-4edb6ef6d0c33ad50abcea160789939dfe6406c0.zip chromium_src-4edb6ef6d0c33ad50abcea160789939dfe6406c0.tar.gz chromium_src-4edb6ef6d0c33ad50abcea160789939dfe6406c0.tar.bz2 |
wstring: remove wstring version of SplitString
BUG=23581
Review URL: http://codereview.chromium.org/6930047
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84336 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/string_split.cc')
-rw-r--r-- | base/string_split.cc | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/base/string_split.cc b/base/string_split.cc index 44b5d06..2b1a037 100644 --- a/base/string_split.cc +++ b/base/string_split.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -35,20 +35,12 @@ static void SplitStringT(const STR& str, } } -void SplitString(const std::wstring& str, - wchar_t c, - std::vector<std::wstring>* r) { - SplitStringT(str, c, true, r); -} - -#if !defined(WCHAR_T_IS_UTF16) void SplitString(const string16& str, char16 c, std::vector<string16>* r) { DCHECK(CBU16_IS_SINGLE(c)); SplitStringT(str, c, true, r); } -#endif void SplitString(const std::string& str, char c, |