stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r589893 - /incubator/stdcxx/trunk/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp
Date Mon, 29 Oct 2007 22:29:08 GMT
Author: sebor
Date: Mon Oct 29 15:29:07 2007
New Revision: 589893

URL: http://svn.apache.org/viewvc?rev=589893&view=rev
Log:
2007-10-29  Travis Vitek  <vitek@roguewave.com>

	Merged rev 589892 (fix for STDCXX-614) from branches/4.2.x.
	* 27.stringbuf.xsputn.stdcxx-515.cpp (main): Include header
	and add namespace qualifier as required to compile.

Modified:
    incubator/stdcxx/trunk/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp

Modified: incubator/stdcxx/trunk/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp?rev=589893&r1=589892&r2=589893&view=diff
==============================================================================
--- incubator/stdcxx/trunk/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp (original)
+++ incubator/stdcxx/trunk/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp Mon Oct 29 15:29:07
2007
@@ -27,10 +27,11 @@
 #include <sstream>  // for stringstream
 #include <string>   // for string
 #include <cassert>  // for assert()
+#include <cstddef>  // for size_t
 
 int main ()
 {
-    for (size_t i = 1; i <= 1024; ++i) {
+    for (std::size_t i = 1; i <= 1024; ++i) {
         std::stringstream strm;
         std::string s (i, 'a');
         strm << s;



Mime
View raw message