2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-21 02:52:12 +00:00

Debug CI crash 26/n [skip ci]

This commit is contained in:
Rene Rivera
2022-04-16 23:19:12 -05:00
parent bc30f4ce00
commit cfbaf949d6

View File

@@ -295,6 +295,7 @@ struct _stack
{
// err_printf( "STACK: %d, ITEMS: %d\n", (char*)end - (char*)get_data(), cleanups.size() );
// err_flush();
assert( cleanups_size <= cleanups.size() );
while ( cleanups_size > 0 )
{
cleanups_size -= 1;
@@ -474,7 +475,7 @@ remove_cref_t<T> * _stack::push( T v, int32_t n )
template <typename T>
void _stack::cleanup_push( int32_t n, T*_ )
{
if ( cleanups_size == cleanups.max_size() )
if ( cleanups_size == cleanups.size() )
{
err_puts( "Function stack cleanup overflow.\n" );
err_flush();