From fd76bf7a7a52126ac11d59c599ffd32f90e5fa14 Mon Sep 17 00:00:00 2001
From: Franz Detro <franz.detro@native-instruments.de>
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
|
b
|
namespace gregorian {
|
108 | 108 | */ |
109 | 109 | BOOST_DATE_TIME_DECL |
110 | 110 | boost::date_time::all_date_names_put<greg_facet_config, char>* |
111 | | create_facet_def(char type) |
| 111 | create_facet_def(char) |
112 | 112 | { |
113 | 113 | typedef |
114 | 114 | boost::date_time::all_date_names_put<greg_facet_config, char> facet_def; |
… |
… |
namespace gregorian {
|
121 | 121 | } |
122 | 122 | |
123 | 123 | //! generates a locale with the set of gregorian name-strings of type char* |
124 | | BOOST_DATE_TIME_DECL std::locale generate_locale(std::locale& loc, char type){ |
| 124 | BOOST_DATE_TIME_DECL std::locale generate_locale(std::locale& loc, char){ |
125 | 125 | typedef boost::date_time::all_date_names_put<greg_facet_config, char> facet_def; |
126 | 126 | return std::locale(loc, new facet_def(short_month_names, |
127 | 127 | long_month_names, |
… |
… |
namespace gregorian {
|
139 | 139 | */ |
140 | 140 | BOOST_DATE_TIME_DECL |
141 | 141 | boost::date_time::all_date_names_put<greg_facet_config, wchar_t>* |
142 | | create_facet_def(wchar_t type) |
| 142 | create_facet_def(wchar_t) |
143 | 143 | { |
144 | 144 | typedef |
145 | 145 | boost::date_time::all_date_names_put<greg_facet_config,wchar_t> facet_def; |
… |
… |
namespace gregorian {
|
152 | 152 | } |
153 | 153 | |
154 | 154 | //! generates a locale with the set of gregorian name-strings of type wchar_t* |
155 | | BOOST_DATE_TIME_DECL std::locale generate_locale(std::locale& loc, wchar_t type){ |
| 155 | BOOST_DATE_TIME_DECL std::locale generate_locale(std::locale& loc, wchar_t){ |
156 | 156 | typedef boost::date_time::all_date_names_put<greg_facet_config, wchar_t> facet_def; |
157 | 157 | return std::locale(loc, new facet_def(w_short_month_names, |
158 | 158 | w_long_month_names, |