mirror of
https://github.com/boostorg/test.git
synced 2026-01-29 20:12:09 +00:00
@@ -200,7 +200,9 @@ report_error( execution_exception::error_code ec, char const* format, ... )
|
||||
va_list args;
|
||||
va_start( args, format );
|
||||
|
||||
BOOST_TEST_VSNPRINTF( buf, sizeof(buf), format, args );
|
||||
BOOST_TEST_VSNPRINTF( buf, sizeof(buf)-1, format, args );
|
||||
buf[sizeof(buf)-1] = 0;
|
||||
|
||||
va_end( args );
|
||||
|
||||
throw execution_exception( ec, buf );
|
||||
|
||||
Reference in New Issue
Block a user