From be16cf2bcf61a6ac255c347a6ba8c65d213a5a11 Mon Sep 17 00:00:00 2001 From: "michaelbai@google.com" Date: Mon, 27 Jun 2011 19:13:10 +0000 Subject: Upstream android string implementation etc. BUG= TEST= Review URL: http://codereview.chromium.org/7238018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90616 0039d316-1c4b-4281-b951-d872f2087c98 --- base/file_path.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'base/file_path.h') diff --git a/base/file_path.h b/base/file_path.h index f60a80c..b8f7861 100644 --- a/base/file_path.h +++ b/base/file_path.h @@ -380,8 +380,8 @@ class BASE_API FilePath { // Provide a hash function so that hash_sets and maps can contain FilePath // objects. +namespace BASE_HASH_NAMESPACE { #if defined(COMPILER_GCC) -namespace __gnu_cxx { template<> struct hash { @@ -390,15 +390,14 @@ struct hash { } }; -} // namespace __gnu_cxx #elif defined(COMPILER_MSVC) -namespace stdext { inline size_t hash_value(const FilePath& f) { return hash_value(f.value()); } -} // namespace stdext #endif // COMPILER +} // namespace BASE_HASH_NAMESPACE + #endif // BASE_FILE_PATH_H_ -- cgit v1.1