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

        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;


Reply via email to