From 0f9f372295178fb96de8314179cbaa2ca34840cb Mon Sep 17 00:00:00 2001 From: Jeff Garland Date: Mon, 22 Sep 2003 01:38:57 +0000 Subject: [PATCH] fix Wshadow warning from gcc [SVN r20141] --- include/boost/date_time/date_generators.hpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/include/boost/date_time/date_generators.hpp b/include/boost/date_time/date_generators.hpp index 621bf69..74eaaa0 100644 --- a/include/boost/date_time/date_generators.hpp +++ b/include/boost/date_time/date_generators.hpp @@ -174,10 +174,10 @@ namespace date_time { typedef typename date_type::duration_type duration_type; //!Specify the first 'Sunday' in 'April' spec /*!@param dow The day of week, eg: Sunday, Monday, etc - * @param month The month of the year, eg: Jan, Feb, Mar, etc + * @param m The month of the year, eg: Jan, Feb, Mar, etc */ - first_kday_of_month(day_of_week_type dow, month_type month) : - month_(month), + first_kday_of_month(day_of_week_type dow, month_type m) : + month_(m), dow_(dow) {} //! Return a concrete date when provided with a year specific year. @@ -223,10 +223,10 @@ namespace date_time { typedef typename date_type::duration_type duration_type; //!Specify the date spec like last 'Sunday' in 'April' spec /*!@param dow The day of week, eg: Sunday, Monday, etc - * @param month The month of the year, eg: Jan, Feb, Mar, etc + * @param m The month of the year, eg: Jan, Feb, Mar, etc */ - last_kday_of_month(day_of_week_type dow, month_type month) : - month_(month), + last_kday_of_month(day_of_week_type dow, month_type m) : + month_(m), dow_(dow) {} //! Return a concrete date when provided with a year specific year.