Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76147 - trunk/boost/xpressive
From: eric_at_[hidden]
Date: 2011-12-24 14:52:29


Author: eric_niebler
Date: 2011-12-24 14:52:28 EST (Sat, 24 Dec 2011)
New Revision: 76147
URL: http://svn.boost.org/trac/boost/changeset/76147

Log:
fix typo, unused variable warnings
Text files modified:
   trunk/boost/xpressive/regex_actions.hpp | 3 +++
   trunk/boost/xpressive/regex_constants.hpp | 2 +-
   2 files changed, 4 insertions(+), 1 deletions(-)

Modified: trunk/boost/xpressive/regex_actions.hpp
==============================================================================
--- trunk/boost/xpressive/regex_actions.hpp (original)
+++ trunk/boost/xpressive/regex_actions.hpp 2011-12-24 14:52:28 EST (Sat, 24 Dec 2011)
@@ -707,6 +707,7 @@
         typedef typename proto::terminal<Fun>::type type;
     };
 
+ function<op::at>::type const at = {{}};
     function<op::push>::type const push = {{}};
     function<op::push_back>::type const push_back = {{}};
     function<op::push_front>::type const push_front = {{}};
@@ -909,6 +910,7 @@
     {
         inline void ignore_unused_regex_actions()
         {
+ detail::ignore_unused(xpressive::at);
             detail::ignore_unused(xpressive::push);
             detail::ignore_unused(xpressive::push_back);
             detail::ignore_unused(xpressive::push_front);
@@ -925,6 +927,7 @@
             detail::ignore_unused(xpressive::str);
             detail::ignore_unused(xpressive::insert);
             detail::ignore_unused(xpressive::make_pair);
+ detail::ignore_unused(xpressive::unwrap_reference);
             detail::ignore_unused(xpressive::check);
             detail::ignore_unused(xpressive::let);
         }

Modified: trunk/boost/xpressive/regex_constants.hpp
==============================================================================
--- trunk/boost/xpressive/regex_constants.hpp (original)
+++ trunk/boost/xpressive/regex_constants.hpp 2011-12-24 14:52:28 EST (Sat, 24 Dec 2011)
@@ -232,7 +232,7 @@
                                 ///<
     error_badattr, ///< Tried to read from an uninitialized attribute.
                                 ///<
- error_internal ///< An internal error has occured.
+ error_internal ///< An internal error has occurred.
                                 ///<
 };
 


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