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 <[EMAIL PROTECTED]>

        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);


Reply via email to