diff options
Diffstat (limited to 'libstdc++-v3/config/locale/gnu/numeric_members.cc')
-rw-r--r-- | libstdc++-v3/config/locale/gnu/numeric_members.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libstdc++-v3/config/locale/gnu/numeric_members.cc b/libstdc++-v3/config/locale/gnu/numeric_members.cc index 5146bcf6e92..6fbf0896a01 100644 --- a/libstdc++-v3/config/locale/gnu/numeric_members.cc +++ b/libstdc++-v3/config/locale/gnu/numeric_members.cc @@ -35,7 +35,7 @@ namespace std _GLIBCXX_VISIBILITY(default) { _GLIBCXX_BEGIN_NAMESPACE_VERSION - template<> + template<> void numpunct<char>::_M_initialize_numpunct(__c_locale __cloc) { @@ -61,9 +61,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION else { // Named locale. - _M_data->_M_decimal_point = *(__nl_langinfo_l(DECIMAL_POINT, + _M_data->_M_decimal_point = *(__nl_langinfo_l(DECIMAL_POINT, __cloc)); - _M_data->_M_thousands_sep = *(__nl_langinfo_l(THOUSANDS_SEP, + _M_data->_M_thousands_sep = *(__nl_langinfo_l(THOUSANDS_SEP, __cloc)); // Check for NULL, which implies no grouping. @@ -111,17 +111,17 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _M_data->_M_falsename = "false"; _M_data->_M_falsename_size = 5; } - - template<> + + template<> numpunct<char>::~numpunct() { if (_M_data->_M_grouping_size) delete [] _M_data->_M_grouping; delete _M_data; } - + #ifdef _GLIBCXX_USE_WCHAR_T - template<> + template<> void numpunct<wchar_t>::_M_initialize_numpunct(__c_locale __cloc) { @@ -204,7 +204,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION _M_data->_M_falsename_size = 5; } - template<> + template<> numpunct<wchar_t>::~numpunct() { if (_M_data->_M_grouping_size) |