re PR bootstrap/40221 (Powerpc bootstrap is broken in building libstdc++)
2009-05-21 Benjamin Kosnik <bkoz@redhat.com> PR libstdc++/40221 * include/tr1_impl/functional: Add explicit cast. From-SVN: r147794
This commit is contained in:
parent
eebc710d2e
commit
e4c29fbc9e
@ -1,3 +1,8 @@
|
||||
2009-05-21 Benjamin Kosnik <bkoz@redhat.com>
|
||||
|
||||
PR libstdc++/40221
|
||||
* include/tr1_impl/functional: Add explicit cast.
|
||||
|
||||
2009-05-21 Paolo Carlini <paolo.carlini@oracle.com>
|
||||
|
||||
PR libstdc++/40094
|
||||
|
@ -1989,7 +1989,7 @@ _GLIBCXX_BEGIN_NAMESPACE_TR1
|
||||
function(const function& __x)
|
||||
: _Function_base()
|
||||
{
|
||||
if (__x)
|
||||
if (static_cast<bool>(__x))
|
||||
{
|
||||
_M_invoker = __x._M_invoker;
|
||||
_M_manager = __x._M_manager;
|
||||
|
Loading…
x
Reference in New Issue
Block a user