stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r697883 - /stdcxx/branches/4.2.x/tests/containers/23.list.erase.cpp
Date Mon, 22 Sep 2008 16:09:59 GMT
Author: faridz
Date: Mon Sep 22 09:09:59 2008
New Revision: 697883

URL: http://svn.apache.org/viewvc?rev=697883&view=rev
Log:
2008-09-22  Farid Zaripov  <faridz@apache.org>

	* tests/containers/23.list.erase.cpp (test_erase): Simplify type of the pres_iter.

Modified:
    stdcxx/branches/4.2.x/tests/containers/23.list.erase.cpp

Modified: stdcxx/branches/4.2.x/tests/containers/23.list.erase.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/containers/23.list.erase.cpp?rev=697883&r1=697882&r2=697883&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/tests/containers/23.list.erase.cpp (original)
+++ stdcxx/branches/4.2.x/tests/containers/23.list.erase.cpp Mon Sep 22 09:09:59 2008
@@ -386,7 +386,7 @@
 
                  // assert precondition to silence a bogus HP cadvise
                  // warning #20200-D: Potential null pointer dereference
-                 const ListIter::pointer pres_iter = &*res_iter;
+                 const T* pres_iter = &*res_iter;
                  RW_ASSERT (pres_iter != 0);
 
                  bool success =



Mime
View raw message