Dimitry Andric: Silence some warnings in <locale>.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@167492 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d5e9d3d66
commit
9bae2a9dc5
@ -2876,9 +2876,9 @@ protected:
|
|||||||
virtual string_type do_negative_sign() const {return string_type(1, '-');}
|
virtual string_type do_negative_sign() const {return string_type(1, '-');}
|
||||||
virtual int do_frac_digits() const {return 0;}
|
virtual int do_frac_digits() const {return 0;}
|
||||||
virtual pattern do_pos_format() const
|
virtual pattern do_pos_format() const
|
||||||
{pattern __p = {symbol, sign, none, value}; return __p;}
|
{pattern __p = {{symbol, sign, none, value}}; return __p;}
|
||||||
virtual pattern do_neg_format() const
|
virtual pattern do_neg_format() const
|
||||||
{pattern __p = {symbol, sign, none, value}; return __p;}
|
{pattern __p = {{symbol, sign, none, value}}; return __p;}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <class _CharT, bool _International>
|
template <class _CharT, bool _International>
|
||||||
@ -3192,7 +3192,6 @@ money_get<_CharT, _InputIterator>::__do_get(iter_type& __b, iter_type __e,
|
|||||||
bool __sb = __flags & ios_base::showbase;
|
bool __sb = __flags & ios_base::showbase;
|
||||||
if (__sb || __more_needed)
|
if (__sb || __more_needed)
|
||||||
{
|
{
|
||||||
ios_base::iostate __et = ios_base::goodbit;
|
|
||||||
typename string_type::const_iterator __sym_space_end = __sym.begin();
|
typename string_type::const_iterator __sym_space_end = __sym.begin();
|
||||||
if (__p > 0 && (__pat.field[__p - 1] == money_base::none ||
|
if (__p > 0 && (__pat.field[__p - 1] == money_base::none ||
|
||||||
__pat.field[__p - 1] == money_base::space)) {
|
__pat.field[__p - 1] == money_base::space)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user