Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r65867 - branches/release/boost/xpressive
From: eric_at_[hidden]
Date: 2010-10-09 15:05:18


Author: eric_niebler
Date: 2010-10-09 15:05:15 EDT (Sat, 09 Oct 2010)
New Revision: 65867
URL: http://svn.boost.org/trac/boost/changeset/65867

Log:
oh right. optional doesn't have a swap member on the release branch. Crap.
Text files modified:
   branches/release/boost/xpressive/match_results.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: branches/release/boost/xpressive/match_results.hpp
==============================================================================
--- branches/release/boost/xpressive/match_results.hpp (original)
+++ branches/release/boost/xpressive/match_results.hpp 2010-10-09 15:05:15 EDT (Sat, 09 Oct 2010)
@@ -660,9 +660,9 @@
         using std::swap;
         swap(this->regex_id_, that.regex_id_);
         this->sub_matches_.swap(that.sub_matches_);
- this->base_.swap(that.base_);
- this->prefix_.swap(that.prefix_);
- this->suffix_.swap(that.suffix_);
+ swap(this->base_, that.base_);
+ swap(this->prefix_, that.prefix_);
+ swap(this->suffix_, that.suffix_);
         this->nested_results_.swap(that.nested_results_);
         this->extras_ptr_.swap(that.extras_ptr_);
         this->traits_.swap(that.traits_);


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