From fd76bf7a7a52126ac11d59c599ffd32f90e5fa14 Mon Sep 17 00:00:00 2001 From: Franz Detro Date: Tue, 4 Sep 2012 15:21:54 +0200 Subject: [PATCH] fix warnings in boost datetime (libs folder) --- libs/date_time/src/gregorian/greg_month.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libs/date_time/src/gregorian/greg_month.cpp b/libs/date_time/src/gregorian/greg_month.cpp index 2d4f8e4..dec1c93 100644 --- a/libs/date_time/src/gregorian/greg_month.cpp +++ b/libs/date_time/src/gregorian/greg_month.cpp @@ -108,7 +108,7 @@ namespace gregorian { */ BOOST_DATE_TIME_DECL boost::date_time::all_date_names_put* - create_facet_def(char type) + create_facet_def(char) { typedef boost::date_time::all_date_names_put facet_def; @@ -121,7 +121,7 @@ namespace gregorian { } //! generates a locale with the set of gregorian name-strings of type char* - BOOST_DATE_TIME_DECL std::locale generate_locale(std::locale& loc, char type){ + BOOST_DATE_TIME_DECL std::locale generate_locale(std::locale& loc, char){ typedef boost::date_time::all_date_names_put facet_def; return std::locale(loc, new facet_def(short_month_names, long_month_names, @@ -139,7 +139,7 @@ namespace gregorian { */ BOOST_DATE_TIME_DECL boost::date_time::all_date_names_put* - create_facet_def(wchar_t type) + create_facet_def(wchar_t) { typedef boost::date_time::all_date_names_put facet_def; @@ -152,7 +152,7 @@ namespace gregorian { } //! generates a locale with the set of gregorian name-strings of type wchar_t* - BOOST_DATE_TIME_DECL std::locale generate_locale(std::locale& loc, wchar_t type){ + BOOST_DATE_TIME_DECL std::locale generate_locale(std::locale& loc, wchar_t){ typedef boost::date_time::all_date_names_put facet_def; return std::locale(loc, new facet_def(w_short_month_names, w_long_month_names, -- 1.7.11.1