diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-16 23:40:05 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-16 23:40:05 +0000 |
commit | 1b02b72b6399a2d028cc2144bb426b96d14bd79b (patch) | |
tree | b0319aba70181c8626049fc3bf1e00e899269eaf /base | |
parent | 46b5d63a1fe352186ea352a7094200f8bc9b294a (diff) | |
download | chromium_src-1b02b72b6399a2d028cc2144bb426b96d14bd79b.zip chromium_src-1b02b72b6399a2d028cc2144bb426b96d14bd79b.tar.gz chromium_src-1b02b72b6399a2d028cc2144bb426b96d14bd79b.tar.bz2 |
wstring: Remove the ability to put wstrings in hash_map<>s.
(On Windows, where wstring==string16, either will still work.)
BUG=23581
Review URL: http://codereview.chromium.org/7031017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85558 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/hash_tables.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/base/hash_tables.h b/base/hash_tables.h index e320670..8fc2835 100644 --- a/base/hash_tables.h +++ b/base/hash_tables.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 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. // @@ -94,13 +94,7 @@ DEFINE_TRIVIAL_HASH(unsigned long long); } DEFINE_STRING_HASH(std::string); -DEFINE_STRING_HASH(std::wstring); - -#if defined(WCHAR_T_IS_UTF32) -// If string16 and std::wstring are not the same type, provide a -// specialization for string16. DEFINE_STRING_HASH(string16); -#endif // WCHAR_T_IS_UTF32 #undef DEFINE_STRING_HASH |