stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r617841 - /stdcxx/trunk/tests/regress/21.string.stdcxx-231.cpp
Date Sat, 02 Feb 2008 17:42:19 GMT
Author: vitek
Date: Sat Feb  2 09:42:17 2008
New Revision: 617841

URL: http://svn.apache.org/viewvc?rev=617841&view=rev
Log:

2008-02-02  Travis Vitek  <vitek@roguewave.com>

	* tests/regress/21.string.stdcxx-231.cpp: Fix compile error.


Modified:
    stdcxx/trunk/tests/regress/21.string.stdcxx-231.cpp

Modified: stdcxx/trunk/tests/regress/21.string.stdcxx-231.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/regress/21.string.stdcxx-231.cpp?rev=617841&r1=617840&r2=617841&view=diff
==============================================================================
--- stdcxx/trunk/tests/regress/21.string.stdcxx-231.cpp (original)
+++ stdcxx/trunk/tests/regress/21.string.stdcxx-231.cpp Sat Feb  2 09:42:17 2008
@@ -32,8 +32,8 @@
 {
     std::string s (100, 's');
 
-    const size_t n = s.capacity ();
-    const char*  p = s.c_str ();
+    const std::string::size_type n = s.capacity ();
+    const std::string::const_pointer p = s.c_str ();
 
     // verify getline(), clear(), erase() and replace() do not
     // unnecessarily resize or reallocate the data buffer



Mime
View raw message