Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82832 - in trunk/boost/xpressive: . traits
From: eric_at_[hidden]
Date: 2013-02-12 12:12:39


Author: eric_niebler
Date: 2013-02-12 12:12:38 EST (Tue, 12 Feb 2013)
New Revision: 82832
URL: http://svn.boost.org/trac/boost/changeset/82832

Log:
remove unused variables, refs #8039
Text files modified:
   trunk/boost/xpressive/match_results.hpp | 2 +-
   trunk/boost/xpressive/traits/cpp_regex_traits.hpp | 6 +++---
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/xpressive/match_results.hpp
==============================================================================
--- trunk/boost/xpressive/match_results.hpp (original)
+++ trunk/boost/xpressive/match_results.hpp 2013-02-12 12:12:38 EST (Tue, 12 Feb 2013)
@@ -934,7 +934,7 @@
     (
         OutputIterator out
       , Expr const &format
- , regex_constants::match_flag_type flags
+ , regex_constants::match_flag_type
       , mpl::size_t<4>
     ) const
     {

Modified: trunk/boost/xpressive/traits/cpp_regex_traits.hpp
==============================================================================
--- trunk/boost/xpressive/traits/cpp_regex_traits.hpp (original)
+++ trunk/boost/xpressive/traits/cpp_regex_traits.hpp 2013-02-12 12:12:38 EST (Tue, 12 Feb 2013)
@@ -467,7 +467,7 @@
     ///
     /// \attention Not currently used
     template<typename FwdIter>
- string_type transform(FwdIter begin, FwdIter end) const
+ string_type transform(FwdIter, FwdIter) const
     {
         //string_type str(begin, end);
         //return this->transform(str.data(), str.data() + str.size());
@@ -483,7 +483,7 @@
     ///
     /// \attention Not currently used
     template<typename FwdIter>
- string_type transform_primary(FwdIter begin, FwdIter end) const
+ string_type transform_primary(FwdIter, FwdIter ) const
     {
         BOOST_ASSERT(false); // TODO implement me
         return string_type();
@@ -495,7 +495,7 @@
     ///
     /// \attention Not currently used
     template<typename FwdIter>
- string_type lookup_collatename(FwdIter begin, FwdIter end) const
+ string_type lookup_collatename(FwdIter, FwdIter) const
     {
         BOOST_ASSERT(false); // TODO implement me
         return string_type();


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