From b32d86e4410a33fff8da6d72405ffc1e0fa0eb41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fridrich=20=C5=A0trba?= Date: Sat, 12 Apr 2014 00:52:10 +0200 Subject: [PATCH 1/2] date_time: GCC -Wshadow warning fixes Signed-off-by: Michael Stahl --- include/boost/date_time/date_names_put.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/date_time/date_names_put.hpp b/include/boost/date_time/date_names_put.hpp index e055fa8..193ed7e 100644 --- a/include/boost/date_time/date_names_put.hpp +++ b/include/boost/date_time/date_names_put.hpp @@ -218,14 +218,14 @@ namespace date_time { const charT* const weekday_long_names[], charT separator_char = '-', ymd_order_spec order_spec = ymd_order_iso, - month_format_spec month_format = month_as_short_string) : + month_format_spec month_format_ = month_as_short_string) : month_short_names_(month_short_names), month_long_names_(month_long_names), special_value_names_(special_value_names), weekday_short_names_(weekday_short_names), weekday_long_names_(weekday_long_names), order_spec_(order_spec), - month_format_spec_(month_format) + month_format_spec_(month_format_) { separator_char_[0] = separator_char; separator_char_[1] = '\0'; -- 1.8.3.1