fix typo, unused variable warnings

[SVN r76147]
This commit is contained in:
Eric Niebler 2011-12-24 19:52:28 +00:00
parent 849fe1d35e
commit 1a6561cf7d
2 changed files with 4 additions and 1 deletions

View File

@ -707,6 +707,7 @@ namespace boost { namespace xpressive
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 @@ namespace boost { namespace xpressive
{
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 @@ namespace boost { namespace xpressive
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);
}

2
include/boost/xpressive/regex_constants.hpp Executable file → Normal file
View File

@ -232,7 +232,7 @@ enum error_type
///<
error_badattr, ///< Tried to read from an uninitialized attribute.
///<
error_internal ///< An internal error has occured.
error_internal ///< An internal error has occurred.
///<
};