Return-Path: Delivered-To: apmail-stdcxx-commits-archive@www.apache.org Received: (qmail 41097 invoked from network); 2 Feb 2008 17:42:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Feb 2008 17:42:43 -0000 Received: (qmail 63333 invoked by uid 500); 2 Feb 2008 17:42:35 -0000 Delivered-To: apmail-stdcxx-commits-archive@stdcxx.apache.org Received: (qmail 63307 invoked by uid 500); 2 Feb 2008 17:42:34 -0000 Mailing-List: contact commits-help@stdcxx.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@stdcxx.apache.org Delivered-To: mailing list commits@stdcxx.apache.org Received: (qmail 63298 invoked by uid 99); 2 Feb 2008 17:42:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Feb 2008 09:42:34 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Feb 2008 17:42:27 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2E0191A9832; Sat, 2 Feb 2008 09:42:20 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r617841 - /stdcxx/trunk/tests/regress/21.string.stdcxx-231.cpp Date: Sat, 02 Feb 2008 17:42:19 -0000 To: commits@stdcxx.apache.org From: vitek@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080202174220.2E0191A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 * 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