You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by fa...@apache.org on 2007/10/24 17:38:40 UTC

svn commit: r587909 - /incubator/stdcxx/branches/4.2.x/tests/utilities/20.temp.buffer.mt.cpp

Author: faridz
Date: Wed Oct 24 08:38:39 2007
New Revision: 587909

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

	* 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/branches/4.2.x/tests/utilities/20.temp.buffer.mt.cpp

Modified: incubator/stdcxx/branches/4.2.x/tests/utilities/20.temp.buffer.mt.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/tests/utilities/20.temp.buffer.mt.cpp?rev=587909&r1=587908&r2=587909&view=diff
==============================================================================
--- incubator/stdcxx/branches/4.2.x/tests/utilities/20.temp.buffer.mt.cpp (original)
+++ incubator/stdcxx/branches/4.2.x/tests/utilities/20.temp.buffer.mt.cpp Wed Oct 24 08:38:39 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) {