stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r617843 - /stdcxx/branches/4.2.x/tests/regress/21.string.stdcxx-231.cpp
Date Sat, 02 Feb 2008 17:46:18 GMT
Author: vitek
Date: Sat Feb  2 09:46:16 2008
New Revision: 617843

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

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

	Merge 617841 from trunk.

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


Modified:
    stdcxx/branches/4.2.x/tests/regress/21.string.stdcxx-231.cpp

Modified: stdcxx/branches/4.2.x/tests/regress/21.string.stdcxx-231.cpp
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/tests/regress/21.string.stdcxx-231.cpp?rev=617843&r1=617842&r2=617843&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/tests/regress/21.string.stdcxx-231.cpp (original)
+++ stdcxx/branches/4.2.x/tests/regress/21.string.stdcxx-231.cpp Sat Feb  2 09:46:16 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