From 8b77744260a05e7b5fcfb2aaa90d0f642505629b Mon Sep 17 00:00:00 2001 From: Christian Maurer Date: Tue, 17 Jan 2023 14:27:03 +0100 Subject: [PATCH] Removed shadow-field warnings. --- include/boost/spirit/home/qi/operator/expect.hpp | 4 ++-- include/boost/spirit/home/qi/operator/sequence.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/boost/spirit/home/qi/operator/expect.hpp b/include/boost/spirit/home/qi/operator/expect.hpp index aa2462fc7d..13e7b6f532 100644 --- a/include/boost/spirit/home/qi/operator/expect.hpp +++ b/include/boost/spirit/home/qi/operator/expect.hpp @@ -43,8 +43,8 @@ namespace boost { namespace spirit { namespace qi { friend struct sequence_base, Elements>; - expect_operator(Elements const& elements) - : sequence_base, Elements>(elements) {} + expect_operator(Elements const& elements_) + : sequence_base, Elements>(elements_) {} private: diff --git a/include/boost/spirit/home/qi/operator/sequence.hpp b/include/boost/spirit/home/qi/operator/sequence.hpp index 3854c9e3ca..4c65d0d8ab 100644 --- a/include/boost/spirit/home/qi/operator/sequence.hpp +++ b/include/boost/spirit/home/qi/operator/sequence.hpp @@ -39,8 +39,8 @@ namespace boost { namespace spirit { namespace qi { friend struct sequence_base, Elements>; - sequence(Elements const& elements) - : sequence_base, Elements>(elements) {} + sequence(Elements const& elements_) + : sequence_base, Elements>(elements_) {} private: