You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by vi...@apache.org on 2008/02/02 18:46:18 UTC

svn commit: r617843 - /stdcxx/branches/4.2.x/tests/regress/21.string.stdcxx-231.cpp

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  <vi...@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