Author: sebor
Date: Mon Oct 29 15:27:47 2007
New Revision: 589892
URL: http://svn.apache.org/viewvc?rev=589892&view=rev
Log:
2007-10-29 Travis Vitek <[EMAIL PROTECTED]>
STDCXX-614
* 27.stringbuf.xsputn.stdcxx-515.cpp (main): Include header
and add namespace qualifier as required to compile.
Modified:
incubator/stdcxx/branches/4.2.x/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp
Modified:
incubator/stdcxx/branches/4.2.x/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/branches/4.2.x/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp?rev=589892&r1=589891&r2=589892&view=diff
==============================================================================
---
incubator/stdcxx/branches/4.2.x/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp
(original)
+++
incubator/stdcxx/branches/4.2.x/tests/regress/27.stringbuf.xsputn.stdcxx-515.cpp
Mon Oct 29 15:27:47 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;