stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r587910 - /incubator/stdcxx/trunk/tests/utilities/20.temp.buffer.mt.cpp
Date Wed, 24 Oct 2007 15:42:02 GMT
Author: faridz
Date: Wed Oct 24 08:42:01 2007
New Revision: 587910

URL: http://svn.apache.org/viewvc?rev=587910&view=rev
Log:
2007-10-24 Farid Zaripov <farid_zaripov@epam.com>

	Merged r587909 from branches/4.2.x
	* 20.temp.buffer.mt.cpp (thr_func): Remove setting
	default zero values for buffers since std::pair
	default ctor already do that.

Modified:
    incubator/stdcxx/trunk/tests/utilities/20.temp.buffer.mt.cpp

Modified: incubator/stdcxx/trunk/tests/utilities/20.temp.buffer.mt.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/utilities/20.temp.buffer.mt.cpp?rev=587910&r1=587909&r2=587910&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/utilities/20.temp.buffer.mt.cpp (original)
+++ incubator/stdcxx/trunk/tests/utilities/20.temp.buffer.mt.cpp Wed Oct 24 08:42:01 2007
@@ -138,10 +138,10 @@
 
 #endif   // _RWSTD_INT64_T
 
-    std::pair<_RWSTD_INT8_T*,  std::ptrdiff_t> buf0 (0, 0);
-    std::pair<_RWSTD_INT16_T*, std::ptrdiff_t> buf1 (0, 0);
-    std::pair<_RWSTD_INT32_T*, std::ptrdiff_t> buf2 (0, 0);
-    std::pair<Type64*,         std::ptrdiff_t> buf3 (0, 0);
+    std::pair<_RWSTD_INT8_T*,  std::ptrdiff_t> buf0;
+    std::pair<_RWSTD_INT16_T*, std::ptrdiff_t> buf1;
+    std::pair<_RWSTD_INT32_T*, std::ptrdiff_t> buf2;
+    std::pair<Type64*,         std::ptrdiff_t> buf3;
 
     for (unsigned i = 0; i != rw_opt_nloops; ++i) {
 



Mime
View raw message