stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r650944 - /stdcxx/branches/4.2.x/tests/algorithms/25.random.shuffle.cpp
Date Wed, 23 Apr 2008 17:27:07 GMT
Author: sebor
Date: Wed Apr 23 10:27:06 2008
New Revision: 650944

URL: http://svn.apache.org/viewvc?rev=650944&view=rev
Log:
2008-04-23  Martin Sebor  <sebor@roguewave.com>

	STDCXX-879
	* tests/algorithms/25.random.shuffle.cpp: Changed the type used
	to explicitly instantiate the algorithm to avoid HP aCC remark
	4271: type conversion may lose sign.

Modified:
    stdcxx/branches/4.2.x/tests/algorithms/25.random.shuffle.cpp

Modified: stdcxx/branches/4.2.x/tests/algorithms/25.random.shuffle.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/algorithms/25.random.shuffle.cpp?rev=650944&r1=650943&r2=650944&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/tests/algorithms/25.random.shuffle.cpp (original)
+++ stdcxx/branches/4.2.x/tests/algorithms/25.random.shuffle.cpp Wed Apr 23 10:27:06 2008
@@ -22,7 +22,7 @@
  * implied.   See  the License  for  the  specific language  governing
  * permissions and limitations under the License.
  *
- * Copyright 1994-2006 Rogue Wave Software.
+ * Copyright 1994-2008 Rogue Wave Software, Inc.
  * 
  **************************************************************************/
 
@@ -49,7 +49,7 @@
 void
 random_shuffle (RandomAccessIter<assign<base<cpy_ctor> > >, 
                 RandomAccessIter<assign<base<cpy_ctor> > >,
-                func<const std::size_t >&);
+                func<const long>&);
 
 #endif // _RWSTD_NO_EXPLICIT_INSTANTIATION
 



Mime
View raw message