stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elemi...@apache.org
Subject svn commit: r675269 - /stdcxx/branches/4.2.x/tests/utilities/20.operators.cpp
Date Wed, 09 Jul 2008 17:52:47 GMT
Author: elemings
Date: Wed Jul  9 10:52:46 2008
New Revision: 675269

URL: http://svn.apache.org/viewvc?rev=675269&view=rev
Log:
2008-07-09  Eric Lemings <eric.lemings@roguewave.com>

	STDCXX-550
	* tests/utilities/20.operators.cpp (test_random_access_iterators):
	Account for debug iterators on HP-UX platforms.


Modified:
    stdcxx/branches/4.2.x/tests/utilities/20.operators.cpp

Modified: stdcxx/branches/4.2.x/tests/utilities/20.operators.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/utilities/20.operators.cpp?rev=675269&r1=675268&r2=675269&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/tests/utilities/20.operators.cpp (original)
+++ stdcxx/branches/4.2.x/tests/utilities/20.operators.cpp Wed Jul  9 10:52:46 2008
@@ -397,7 +397,11 @@
 
     typedef RandomAccessIterator I;
 
+#if defined _RWSTD_NO_DEBUG_ITER
     RandomNumberGenerator<typename I::difference_type> rndgen;
+#else
+    RandomNumberGenerator<T> rndgen;
+#endif
 
     std::random_shuffle (I (), I ());
     std::random_shuffle (I (), I (), rndgen);



Mime
View raw message