stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r614913 - /stdcxx/branches/4.2.x/include/rw/_allocator.h
Date Thu, 24 Jan 2008 16:22:32 GMT
Author: faridz
Date: Thu Jan 24 08:22:31 2008
New Revision: 614913

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

	* include/rw/_allocator.h [!_RWSTD_ALLOCATOR] (address): Corrected
	type in reinterpret_cast expression.

Modified:
    stdcxx/branches/4.2.x/include/rw/_allocator.h

Modified: stdcxx/branches/4.2.x/include/rw/_allocator.h
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_allocator.h?rev=614913&r1=614912&r2=614913&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/include/rw/_allocator.h (original)
+++ stdcxx/branches/4.2.x/include/rw/_allocator.h Thu Jan 24 08:22:31 2008
@@ -316,7 +316,7 @@
   
     const_pointer address (const_reference __x) const {
         // lwg issue 350
-        return _RWSTD_REINTERPRET_CAST (pointer,
+        return _RWSTD_REINTERPRET_CAST (const_pointer,
                    &_RWSTD_REINTERPRET_CAST (const char&, __x));
     }
 



Mime
View raw message