Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60582 - trunk/libs/iostreams/test
From: daniel_james_at_[hidden]
Date: 2010-03-14 14:04:30


Author: danieljames
Date: 2010-03-14 14:04:30 EDT (Sun, 14 Mar 2010)
New Revision: 60582
URL: http://svn.boost.org/trac/boost/changeset/60582

Log:
ptrdiff_t is in std. Refs #2505.
Text files modified:
   trunk/libs/iostreams/test/grep_test.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/libs/iostreams/test/grep_test.cpp
==============================================================================
--- trunk/libs/iostreams/test/grep_test.cpp (original)
+++ trunk/libs/iostreams/test/grep_test.cpp 2010-03-14 14:04:30 EDT (Sun, 14 Mar 2010)
@@ -253,7 +253,7 @@
                   const std::string& output )
 {
     // Count lines in output
- ptrdiff_t count = std::count(output.begin(), output.end(), '\n');
+ std::ptrdiff_t count = std::count(output.begin(), output.end(), '\n');
 
     // Test as input filter
     {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk