From 4edb6ef6d0c33ad50abcea160789939dfe6406c0 Mon Sep 17 00:00:00 2001 From: "evan@chromium.org" Date: Thu, 5 May 2011 22:23:44 +0000 Subject: 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 --- base/string_split.cc | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'base/string_split.cc') 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* r) { - SplitStringT(str, c, true, r); -} - -#if !defined(WCHAR_T_IS_UTF16) void SplitString(const string16& str, char16 c, std::vector* r) { DCHECK(CBU16_IS_SINGLE(c)); SplitStringT(str, c, true, r); } -#endif void SplitString(const std::string& str, char c, -- cgit v1.1