Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r64267 - sandbox/tools/auto_index/src
From: john_at_[hidden]
Date: 2010-07-22 13:06:36


Author: johnmaddock
Date: 2010-07-22 13:06:31 EDT (Thu, 22 Jul 2010)
New Revision: 64267
URL: http://svn.boost.org/trac/boost/changeset/64267

Log:
Fix sun compiler failures.
Text files modified:
   sandbox/tools/auto_index/src/file_scanning.cpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/tools/auto_index/src/file_scanning.cpp
==============================================================================
--- sandbox/tools/auto_index/src/file_scanning.cpp (original)
+++ sandbox/tools/auto_index/src/file_scanning.cpp 2010-07-22 13:06:31 EDT (Thu, 22 Jul 2010)
@@ -259,7 +259,7 @@
    if((s.size() >= 2) && (*s.begin() == '\"') && (*s.rbegin() == '\"'))
    {
       result.erase(result.begin());
- result.erase(--result.end());
+ result.erase(result.end() - 1);
    }
    return result;
 }


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