summaryrefslogtreecommitdiffstats
path: root/libcxx/include/string
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2011-01-04 19:53:31 +0000
committerHoward Hinnant <hhinnant@apple.com>2011-01-04 19:53:31 +0000
commit36fd9f96cffba43c75cfd482c1491ef9ad5e89dc (patch)
treef57730648dd7d8a518ef8494f92cac42a6a70f94 /libcxx/include/string
parente45a2389cef8937ea8de278711f387b625fca7f7 (diff)
downloadbcm5719-llvm-36fd9f96cffba43c75cfd482c1491ef9ad5e89dc.tar.gz
bcm5719-llvm-36fd9f96cffba43c75cfd482c1491ef9ad5e89dc.zip
Reverting an old optimization that conflicts with the new allocator model, and causes some test casees to compile that shouldn't.
llvm-svn: 122830
Diffstat (limited to 'libcxx/include/string')
-rw-r--r--libcxx/include/string4
1 files changed, 0 insertions, 4 deletions
diff --git a/libcxx/include/string b/libcxx/include/string
index 92f0ed19f77..469e3dd507b 100644
--- a/libcxx/include/string
+++ b/libcxx/include/string
@@ -3641,10 +3641,6 @@ swap(basic_string<_CharT, _Traits, _Allocator>& __lhs, basic_string<_CharT, _Tra
__lhs.swap(__rhs);
}
-template<class _CharT, class _Traits, class _Allocator>
-struct __is_zero_default_constructible<basic_string<_CharT, _Traits, _Allocator> >
- : public integral_constant<bool, __is_zero_default_constructible<_Allocator>::value> {};
-
#ifndef _LIBCPP_HAS_NO_UNICODE_CHARS
typedef basic_string<char16_t> u16string;
OpenPOWER on IntegriCloud