summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-17 09:45:04 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-10-17 09:45:04 +0000
commit29006586d3f786e084d0a3d84b0ae6528eb55004 (patch)
treedeae93e1dae6552918588c9007aaba39b18d5b7c /libstdc++-v3
parent8071f7e8ecee06d1389888b75316db2c96942515 (diff)
downloadppe42-gcc-29006586d3f786e084d0a3d84b0ae6528eb55004.tar.gz
ppe42-gcc-29006586d3f786e084d0a3d84b0ae6528eb55004.zip
2007-10-17 Paolo Carlini <pcarlini@suse.de>
* include/tr1_impl/array: Correct macro guarding cbegin, cend, crbegin, crend. * include/tr1_impl/hashtable: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129404 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/include/tr1_impl/array2
-rw-r--r--libstdc++-v3/include/tr1_impl/hashtable2
3 files changed, 8 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 6f04a7f23a1..754918672b5 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2007-10-17 Paolo Carlini <pcarlini@suse.de>
+
+ * include/tr1_impl/array: Correct macro guarding cbegin, cend,
+ crbegin, crend.
+ * include/tr1_impl/hashtable: Likewise.
+
2007-10-16 Paolo Carlini <pcarlini@suse.de>
* include/ext/vstring.h (__versa_string<>::front,
diff --git a/libstdc++-v3/include/tr1_impl/array b/libstdc++-v3/include/tr1_impl/array
index 759f00e4b5a..83cad1511f3 100644
--- a/libstdc++-v3/include/tr1_impl/array
+++ b/libstdc++-v3/include/tr1_impl/array
@@ -97,7 +97,7 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1
rend() const
{ return const_reverse_iterator(begin()); }
-#ifdef __GXX_EXPERIMENTAL_CXX0X__
+#ifdef _GLIBCXX_INCLUDE_AS_CXX0X
const_iterator
cbegin() const
{ return const_iterator(&_M_instance[0]); }
diff --git a/libstdc++-v3/include/tr1_impl/hashtable b/libstdc++-v3/include/tr1_impl/hashtable
index 1f7deed068a..093af39fef3 100644
--- a/libstdc++-v3/include/tr1_impl/hashtable
+++ b/libstdc++-v3/include/tr1_impl/hashtable
@@ -252,7 +252,7 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1
end() const
{ return const_iterator(_M_buckets + _M_bucket_count); }
-#ifdef __GXX_EXPERIMENTAL_CXX0X__
+#ifdef _GLIBCXX_INCLUDE_AS_CXX0X
const_iterator
cbegin() const
{
OpenPOWER on IntegriCloud