stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r637542 - /stdcxx/trunk/include/deque
Date Sun, 16 Mar 2008 05:08:31 GMT
Author: faridz
Date: Sat Mar 15 22:08:30 2008
New Revision: 637542

URL: http://svn.apache.org/viewvc?rev=637542&view=rev
Log:
2008-03-16 Farid Zaripov <farid_zaripov@epam.com>

	* include/deque (operator-): Privatized names of pointer types.

Modified:
    stdcxx/trunk/include/deque

Modified: stdcxx/trunk/include/deque
URL: http://svn.apache.org/viewvc/stdcxx/trunk/include/deque?rev=637542&r1=637541&r2=637542&view=diff
==============================================================================
--- stdcxx/trunk/include/deque (original)
+++ stdcxx/trunk/include/deque Sat Mar 15 22:08:30 2008
@@ -277,10 +277,10 @@
 operator- (const _RWSTD_DEQUE_ITER(1) &__x, const _RWSTD_DEQUE_ITER(2) &__y)
 {
     // _RWSTD_ASSERT_RANGE (__x, __y);
-    typedef _TYPENAME _RWSTD_DEQUE_ITER(1)::pointer pointer1;
-    typedef _TYPENAME _RWSTD_DEQUE_ITER(2)::pointer pointer2;
+    typedef _TYPENAME _RWSTD_DEQUE_ITER(1)::pointer _Pointer1;
+    typedef _TYPENAME _RWSTD_DEQUE_ITER(2)::pointer _Pointer2;
 
-    if (pointer1 () == __x._C_cur || pointer2 () == __y._C_cur) {
+    if (_Pointer1 () == __x._C_cur || _Pointer2 () == __y._C_cur) {
         // __x and/or __y is end-iterator of the empty deque
         return _DiffT (__x._C_cur - __y._C_cur);
     }



Mime
View raw message