From b59868b92dcbe82cce84380dd2da858e84e1f292 Mon Sep 17 00:00:00 2001
From: Franz Detro <franz.detro@native-instruments.de>
Date: Mon, 11 Feb 2013 12:35:57 +0100
Subject: [PATCH] fix warnings in boost spirit
---
boost/spirit/home/qi/auxiliary/lazy.hpp | 2 +-
boost/spirit/home/qi/nonterminal/rule.hpp | 2 +-
boost/spirit/home/qi/numeric/real.hpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/boost/spirit/home/qi/auxiliary/lazy.hpp b/boost/spirit/home/qi/auxiliary/lazy.hpp
index b935261..522526a 100644
|
a
|
b
|
namespace boost { namespace spirit { namespace qi
|
| 60 | 60 | bool lazy_parse_impl(Parser const& p |
| 61 | 61 | , Iterator& first, Iterator const& last |
| 62 | 62 | , Context& context, Skipper const& skipper |
| 63 | | , Attribute& attr, mpl::true_) |
| | 63 | , Attribute& /*attr*/, mpl::true_) |
| 64 | 64 | { |
| 65 | 65 | // If DeducedAuto is false (semantic actions is present), the |
| 66 | 66 | // component's attribute is unused. |
diff --git a/boost/spirit/home/qi/nonterminal/rule.hpp b/boost/spirit/home/qi/nonterminal/rule.hpp
index 23d2559..11688ec 100644
|
a
|
b
|
namespace boost { namespace spirit { namespace qi
|
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | template <typename Auto, typename Expr> |
| 171 | | static void define(rule& lhs, Expr const& expr, mpl::false_) |
| | 171 | static void define(rule& /*lhs*/, Expr const& /*expr*/, mpl::false_) |
| 172 | 172 | { |
| 173 | 173 | // Report invalid expression error as early as possible. |
| 174 | 174 | // If you got an error_invalid_expression error message here, |
diff --git a/boost/spirit/home/qi/numeric/real.hpp b/boost/spirit/home/qi/numeric/real.hpp
index 325acd5..b3cc107 100644
|
a
|
b
|
namespace boost { namespace spirit { namespace qi
|
| 207 | 207 | template <typename Iterator, typename Context |
| 208 | 208 | , typename Skipper, typename Attribute> |
| 209 | 209 | bool parse(Iterator& first, Iterator const& last |
| 210 | | , Context& context, Skipper const& skipper |
| | 210 | , Context& /*context*/, Skipper const& skipper |
| 211 | 211 | , Attribute& attr) const |
| 212 | 212 | { |
| 213 | 213 | typedef detail::real_impl<T, RealPolicies> extract; |