forked from boostorg/exception
Fix two cases of redefinition and hiding of local variables (#46)
This commit is contained in:
committed by
GitHub
parent
bd347f048a
commit
89d8033fed
@ -149,11 +149,11 @@ boost
|
|||||||
if( f )
|
if( f )
|
||||||
{
|
{
|
||||||
tmp << *f;
|
tmp << *f;
|
||||||
if( int const * l=get_error_info<throw_line>(*be) )
|
if( l )
|
||||||
tmp << '(' << *l << "): ";
|
tmp << '(' << *l << "): ";
|
||||||
}
|
}
|
||||||
tmp << "Throw in function ";
|
tmp << "Throw in function ";
|
||||||
if( char const * const * fn=get_error_info<throw_function>(*be) )
|
if( fn )
|
||||||
tmp << *fn;
|
tmp << *fn;
|
||||||
else
|
else
|
||||||
tmp << "(unknown)";
|
tmp << "(unknown)";
|
||||||
|
Reference in New Issue
Block a user