Commit 5a9ed693 by Doug Gregor Committed by Doug Gregor

*** empty log message ***

From-SVN: r70235
parent 7d73a2ba
2003-08-07 Doug Gregor <dgregor@apple.com>
* include/bits/char_traits.h (char_traits::not_eof): Match operand
types in ? :.
2003-08-07 Bernardo Innocenti <bernie@develer.com>
PR libstdc++/11784
......
......@@ -140,7 +140,7 @@ namespace __gnu_cxx
static int_type
not_eof(const int_type& __c)
{ return !eq_int_type(__c, eof()) ? __c : char_type(); }
{ return !eq_int_type(__c, eof()) ? __c : to_int_type(char_type()); }
};
template<typename _CharT>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment