You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2008/01/24 17:22:32 UTC

svn commit: r614913 - /stdcxx/branches/4.2.x/include/rw/_allocator.h

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 <fa...@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));
     }