stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r345527 - /incubator/stdcxx/trunk/include/list
Date Fri, 18 Nov 2005 17:24:25 GMT
Author: sebor
Date: Fri Nov 18 09:24:20 2005
New Revision: 345527

URL: http://svn.apache.org/viewcvs?rev=345527&view=rev
Log:
2005-11-18  Martin Sebor  <sebor@roguewave.com>

	* _list (C_get_node): Renamed a function argument to eliminate
	an MSVC 8.0 compilation error. __is_empty is apparently an MSVC
	reserved symbol new in 8.0 even though it's not documented here:
	http://msdn2.microsoft.com/en-us/library/2e6a4at9.aspx.
	(_C_init): Same.

Modified:
    incubator/stdcxx/trunk/include/list

Modified: incubator/stdcxx/trunk/include/list
URL: http://svn.apache.org/viewcvs/incubator/stdcxx/trunk/include/list?rev=345527&r1=345526&r2=345527&view=diff
==============================================================================
--- incubator/stdcxx/trunk/include/list (original)
+++ incubator/stdcxx/trunk/include/list Fri Nov 18 09:24:20 2005
@@ -3,7 +3,7 @@
  *
  * list - list declarations for the Standard Library
  *
- * $Id: //stdlib/dev/include/list#43 $
+ * $Id$
  *
  ***************************************************************************
  *
@@ -303,14 +303,14 @@
             _RETHROW;                                            \
         } typedef void __dummy_t
 
-    _C_link_type _C_get_node (bool __is_empty = false) {
+    _C_link_type _C_get_node (bool __empty_list = false) {
         if (_C_free_list) {
             _C_link_type __tmp = _C_free_list;
             _C_free_list = _C_free_list->_C_next;
             return __tmp;
         }
         if (_C_next_avail == _C_last)
-            _C_add_buffer (__is_empty);
+            _C_add_buffer (__empty_list);
         return _C_next_avail++;
     }
 
@@ -339,8 +339,8 @@
 #endif // _RWSTD_NO_LIST_NODE_BUFFER
 
     // here and only here is _C_node initialized
-    void _C_init(bool __is_list_empty = false) {
-        _C_node = _C_get_node (__is_list_empty);
+    void _C_init (bool __empty_list = false) {
+        _C_node = _C_get_node (__empty_list);
 
         (*_C_node)._C_next = _C_node;
         (*_C_node)._C_prev = _C_node; 



Mime
View raw message